How to apply success/positive state to q-field upon validation being correct?
When the validation fails on an input field, the input gets a nice red border and the red error message is displayed below. I notice if you change the
div.q-field__control, the red border gets changed to green.
Is there anyway to automatically apply this state to the field/input/div automatically when all the validation rules pass?
s.molinari last edited by
I’d just load a green checkmark icon or something like that. But for sure, with
styleattribute and a smart computed property, you can also do a lot.