This is the part of my code when I inspect it:
<input disabled="" required="" type="text" ng-reflect-name="id" ng-reflect-model="" class="ng-untouched ng-pristine">
The ng-reflect-model
is dynamically filled, upon other action:
<input disabled="" required="" type="text" ng-reflect-name="id" ng-reflect-model="A1" class="ng-untouched ng-pristine">
I need to style this with CSS when the ng-reflect-model
is :empty
and when it is :not(:empty)
This works:
input[ng-reflect-model]:empty {
//CSS STYLES
}
But this doesn't:
input:not([ng-reflect-model]:empty), input[ng-reflect-model]:not(:empty) {
//CSS STYLES
}
What would be a work-around?
Thanks.