You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Fixed: SearchBar.textFieldHintColor not respected on iOS #1807
As stated in the title, the textFieldHintColor property of SearchBar does not work when it's inside the ActionBar (tested in ActionBar.titleView). If I move the SearchBar outside the ActionBar tag, it works.
Tested on iOS only. As seen in the screenshot, the text color is gray, but should be white:
Unfortunatly, I found that textFieldHintColor is not supported for ios apps
The code behind SearchBar textFieldHintColor property was create by @NathanaelA.
He can give further information on this issue.
Hi @NordlingArt ,
I apologize for the delay in replying. I made a little research and found that you can change textFieldHintColor manually in iOS by changing UILabeltextColor property.
I am attaching an example, how you can do this:
changed the title [-]SearchBar textFieldHintColor not working inside ActionBar.titleView[/-][+]Fixed: SearchBar.textFieldHintColor not respected on iOS[/+]on Jun 14, 2016
Activity
tsonevn commentedon Mar 24, 2016
Hi @NordlingArt,
Unfortunatly, I found that textFieldHintColor is not supported for ios apps
The code behind SearchBar textFieldHintColor property was create by @NathanaelA.
He can give further information on this issue.
tsonevn commentedon Apr 27, 2016
Hi @NordlingArt ,
I apologize for the delay in replying. I made a little research and found that you can change
textFieldHintColormanually iniOSby changingUILabeltextColorproperty.I am attaching an example, how you can do this:
main-page.xml
main-page.ts
I hope this is applicable for you.
NordlingDev commentedon Apr 27, 2016
Hi @tsonevn,
No worries. I'll take a look at this. Thanks for hitting back to it!
[-]SearchBar textFieldHintColor not working inside ActionBar.titleView[/-][+]Fixed: SearchBar.textFieldHintColor not respected on iOS[/+]Fixed: SearchBar.textFieldHintColor not respected on iOS
Add unit test for SearchBar.textFieldHintColor on iOS
Fixed: SearchBar.textFieldHintColor not respected on iOS
Add unit test for SearchBar.textFieldHintColor on iOS
lock commentedon Aug 29, 2019
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.