maui
                                
                                 maui copied to clipboard
                                
                                    maui copied to clipboard
                            
                            
                            
                        [iOS] [MacCatalyst] Entry Text color not updated initially when updating text from code behind in .NET MAUI
Description
When initializing the Entry control with TextColor as "red" and then updating the Text property from code behind in .NET MAUI on the iOS and MacCatalyst platforms, the text color is not updated initially.
https://github.com/dotnet/maui/assets/97146406/a5fd2603-34cb-43df-8441-111f0ca4dceb
Note: Once I clear the text and start re-entering or updating it from the code behind, it works fine.
Steps to Reproduce
- Run the attached sample
- Click the Button
- The text will updated but the text color remains "black".
Expected Behavior The text will updated with "red" text color
Link to public reproduction project repository
https://github.com/anandhan-rajagopal/iOS-MacCatalystEntryBreaking.NET8.0
Version with bug
8.0.3
Is this a regression from previous behavior?
Yes, this used to work in .NET MAUI
Last version that worked well
Unknown/Other
Affected platforms
iOS, macOS
Affected platform versions
iOS 11 or higher, macOS 11.15 or higher
Did you find any workaround?
NA
Relevant log output
No response
We've added this issue to our backlog, and we will work to address it as time and resources allow. If you have any additional information or questions about this issue, please leave a comment. For additional info about issue management, please read our Triage Process.
Could be the same or related with https://github.com/dotnet/maui/issues/19424
Is any workaround for this @jsuarezruiz ?
I would also be interested in a workaround ....
Given that this bug breaks any production application deployed to MacOs with .Net 8..... when can we expect a fix?
This breaks my production IOS .NET 8 app so .. Please .. do fix this!!!
Any updates on this?
@SF3969 @anandhan-rajagopal @exquirentibus @jsuarezruiz the fix is here https://github.com/dotnet/maui/pull/20100
Sadly it's apparently Not fixed yet as there are multiple failed checks for #20100? Hopefully as a regression this will get some attention as when the data is .. invisible .. that causes a it of a problem?
any update on this ?
@Ahamed-Ali @exquirentibus the fix is here https://github.com/dotnet/maui/pull/20100
Reviewing the above PR , it seems that the fix is not merged yet.. Can you please let us know when it will be merged ? @kubaflo
Reviewing the above PR , it seems that the fix is not merged yet.. Can you please let us know when it will be merged ? @kubaflo
@Ahamed-Ali unfortunately, I cannot tell you when it will be merged - I'm not the one who can merge PRs 😅
@kubaflo PR merged, Which Maui version can I expect this Fix ?.
In which version of Maui can we expect this fix, @kubaflo?