Skip to content

[iOS] SearchBar hint color cannot be set before hint is set #6901

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
MartoYankov opened this issue Feb 14, 2019 · 2 comments
Closed

[iOS] SearchBar hint color cannot be set before hint is set #6901

MartoYankov opened this issue Feb 14, 2019 · 2 comments
Assignees

Comments

@MartoYankov
Copy link
Contributor

Environment

  • CLI: 5.2.0
  • Cross-platform modules: 5.2.0
  • iOS Runtime: 5.2.0

Describe the bug
If you set a SearchBar textFieldHintColor before setting a hint, the color will not be assigned. This is very important for CSS styling. You usually want to set the color in CSS and the hint in the code behind and the CSS is always applied first.

To Reproduce

  1. Have a SearchBar.
  2. Set textFieldHintColor first
  3. Set hint after this

Expected behavior
The color should be applied to the hint.

Sample project
https://play.nativescript.org/?template=play-tsc&id=20b7Dg

@MartoYankov
Copy link
Contributor Author

fixed by #6902

@lock
Copy link

lock bot commented Feb 21, 2020

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.

@lock lock bot locked and limited conversation to collaborators Feb 21, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant