Bug 40485 - Entry TextColor does not work when Enabled is false
Summary: Entry TextColor does not work when Enabled is false
Alias: None
Product: Forms
Classification: Xamarin
Component: Forms ()
Version: 2.2.0
Hardware: PC Mac OS
: Normal normal
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2016-04-18 15:01 UTC by John Miller [MSFT]
Modified: 2018-05-09 18:09 UTC (History)
16 users (show)

Tags: ac
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report for Bug 40485 on Developer Community or GitHub if you have new information to add and do not yet see a matching new report.

If the latest results still closely match this report, you can use the original description:

  • Export the original title and description: Developer Community HTML or GitHub Markdown
  • Copy the title and description into the new report. Adjust them to be up-to-date if needed.
  • Add your new information.

In special cases on GitHub you might also want the comments: GitHub Markdown with public comments

Related Links:

Description John Miller [MSFT] 2016-04-18 15:01:17 UTC

   Entry.TextColor does not work when Enabled is False. The TextColor appears as the default black.

**Steps to Reproduce:**

   1. Create a Forms project. 
   2. Add this code to a ContentPage

   <Entry Text="1" IsEnabled="true" TextColor="Red"/>
   <Entry Text="2" IsEnabled="false" TextColor="Red"/>

   3. Run on iOS

**Actual Results:**

   The disabled Entry still has a Black text color. 

**Expected Results:**

   The disabled Entry should have a red text color.

**Build Date & Platform:**

  XF 2.2 pre2

**Additional Information:**

   On non-forms iOS projects, a disabled UITextField will have the red text color as expected.
Comment 1 John Miller [MSFT] 2016-04-18 15:57:43 UTC
Also an issue on Android
Comment 2 adrianknight89 2016-08-27 18:08:31 UTC
I have this problem as well.
Comment 3 adrianknight89 2016-08-28 01:50:04 UTC
For me, iOS shows black whereas Android shows gray. I don't see red at all when the entry is disabled.
Comment 4 Matteo Zoni 2016-08-28 11:54:55 UTC
Additional information : in the first version of Form Xamarin it is working properly
Comment 5 adrianknight89 2016-11-05 06:30:57 UTC
See https://github.com/xamarin/Xamarin.Forms/pull/506
Comment 6 JuanSe 2017-02-24 21:46:22 UTC
Same here in iOS

For Android I manage to find a work around with a custom render and overriding OnElementPropertyChanged

I tried to use the same logic in iOS but with not success.
Comment 7 Rod 2017-04-19 21:32:51 UTC
Is there are result or workaround for this on iOS? My client needs a black background so when the field is disabled it effectively disappears.
Comment 8 Samantha Houts [MSFT] 2017-06-19 18:04:31 UTC
PR was closed. Moving back to confirmed status. I'm afraid that's all the information I have at this time.
Comment 9 Aumnia 2017-09-13 17:49:12 UTC
We have this issue (Entry does not respect TextColor when IsEnabled=False) with in iOS
Comment 10 Lyndon Hughey 2017-11-30 16:55:40 UTC
I can confirm that this is also happening on
Comment 11 oylex07 2018-05-09 18:09:00 UTC
Still happening on