Xamarin.forms: [Bug] Disabled entry text color is not gray on IOS

Created on 8 Feb 2019  路  8Comments  路  Source: xamarin/Xamarin.Forms

Description
When I make entry disabled on iOS it is not grayed.

Steps to Reproduce

  1. Make new entry
  2. Set IsEnabled property to false
  3. On Android text is grayed by default, on iOS not.

Expected Behavior
Text in disabled entries on iOS are grayed

Actual Behavior
Text in disabled entry is in default color

Basic Information
Xamarin Forms 3.4.0.1029999
iOS 12.3

Screenshot
https://i.imgur.com/S5Bp20t.png - this entry has IsEnabled property set to false

https://bugzilla.xamarin.com/show_bug.cgi?id=40485

5 iOS 馃崕 bug

Most helpful comment

As a workaround you can easily implement this yourself by using the Visual State Manager.

Also, if I'm not mistaken, I think this is how iOS works, right? The background color gets a grey shade, but the text still remains the same. That is what we do as well.

5Iidr
(image from https://stackoverflow.com/a/29791988/1506387)

All 8 comments

Related to #158, #506

Please do not close this again with the arguments "needs to be discussed more" or "trying to find a better solution to this", because that happened in 2016 and 2017!
Now we are in 2019, and still no fix :-( !

It will be fixed soon?

Hi, I am also curious when/if this issue is expected to be resolved.

@mgr44 At this pace in 2022 ;)

As a workaround you can easily implement this yourself by using the Visual State Manager.

Also, if I'm not mistaken, I think this is how iOS works, right? The background color gets a grey shade, but the text still remains the same. That is what we do as well.

5Iidr
(image from https://stackoverflow.com/a/29791988/1506387)

As a workaround you can easily implement this yourself by using the Visual State Manager.

Also, if I'm not mistaken, I think this is how iOS works, right? The background color gets a grey shade, but the text still remains the same. That is what we do as well.

5Iidr
(image from https://stackoverflow.com/a/29791988/1506387)

What a legend! Didn't even know this was a thing. Works a charm! Thank you!

Same problem here. When will this be fixed?

Was this page helpful?
0 / 5 - 0 ratings