- Yes. Couldn't find similar issue/discussion
Tell us about the problem
I'd expect CSS attribute selector rules to kick in when there's a change and they become valid/true, however that is not the case.
For example the rule, .label[occupied="true"] { background-color: red; } will not produce a red label unless the condition is true to begin with.
Toggling between .label and .label.occupied will work as expected though.
Which platform(s) does your issue occur on?
iOS/Android/Both
Please provide the following version numbers that your issue occurs with:
- CLI: 4.1.1
- Modules: 4.1.0
- iOS Runtime: 4.1.1
Did you verify this is a real problem by searching the NativeScript Forum and the other open issues in this repo?
Tell us about the problem
I'd expect CSS attribute selector rules to kick in when there's a change and they become valid/true, however that is not the case.
For example the rule,
.label[occupied="true"] { background-color: red; }will not produce a red label unless the condition is true to begin with.Toggling between
.labeland.label.occupiedwill work as expected though.Which platform(s) does your issue occur on?
iOS/Android/Both
Please provide the following version numbers that your issue occurs with: