Please, provide the details below:
Tell us about the problem
Setting text-field-hint-color and text-field-background-color properties in CSS has no effect. This is because the properties are not defined as CssProperty
|
export const textFieldHintColorProperty = new Property<SearchBarBase, Color>({ name: "textFieldHintColor", equalityComparer: Color.equals, valueConverter: (v) => new Color(v) }); |
|
textFieldHintColorProperty.register(SearchBarBase); |
|
|
|
export const textFieldBackgroundColorProperty = new Property<SearchBarBase, Color>({ name: "textFieldBackgroundColor", equalityComparer: Color.equals, valueConverter: (v) => new Color(v) }); |
|
textFieldBackgroundColorProperty.register(SearchBarBase); |
I don't see a reason why those cannot be set up as CssProperties with the respective names so we can easily set those through css.
Which platform(s) does your issue occur on?
Both
Please provide the following version numbers that your issue occurs with:
- CLI: 3.4.1
- Cross-platform modules: 3.4
- Runtime(s): 3.4.1
Reactions are currently unavailable
Please, provide the details below:
Tell us about the problem
Setting text-field-hint-color and text-field-background-color properties in CSS has no effect. This is because the properties are not defined as CssProperty
NativeScript/tns-core-modules/ui/search-bar/search-bar-common.ts
Lines 25 to 29 in 0f14101
I don't see a reason why those cannot be set up as CssProperties with the respective names so we can easily set those through css.
Which platform(s) does your issue occur on?
Both
Please provide the following version numbers that your issue occurs with: