cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Niels_T
Helper II
Helper II

Disabled button disapears

Hello,

 

I have a button that I would like to disable if the form is invallid. I wrote the following:

If(Contact_Info_Form.Valid,DisplayMode.Edit,Disabled).

 

The problem is however, once the button is disabled it just disappears, instead I would like to have it greyed out like so:

Niels_T_0-1631518659763.png

 

1 ACCEPTED SOLUTION

Accepted Solutions
PG_WorXz10
Community Champion
Community Champion

Hi @Niels_T ,

 

If not checked earlier could you please check if the disabled color of the control is same as the background color and also please check if any code is added in the visible property of the icon. 

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

If this post was helpful or you need more help please consider giving Thumbs Up and Tag me in your reply I'll be happy to help. If this post helped you solve your issue please click Accept as solution and provide Thumbs Up. This will help others find it more readily.

View solution in original post

1 REPLY 1
PG_WorXz10
Community Champion
Community Champion

Hi @Niels_T ,

 

If not checked earlier could you please check if the disabled color of the control is same as the background color and also please check if any code is added in the visible property of the icon. 

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

If this post was helpful or you need more help please consider giving Thumbs Up and Tag me in your reply I'll be happy to help. If this post helped you solve your issue please click Accept as solution and provide Thumbs Up. This will help others find it more readily.

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (4,399)