FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[iOS] SearchBar hint color cannot be set before hint is set · Issue #6901 · NativeScript/NativeScript · GitHub

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

Description

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


    Back | FazBrowse Home | New Git URL