You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Current behaviour: clicking the field and then leaving it does not trigger validation because the model is $pristine.
Expected behaviour: regardless of being $pristine, the validation display should trigger when the model becomes $touched. I think it would be more logical to display validity status after entering and leaving the input.
See how Angular Material, a popular Angular.js library implements the described behaviour. (scroll down to Errors section to see a required field, and click into it, then out of it.) https://material.angularjs.org/HEAD/demo/input
What are your thoughts on this one?
The text was updated successfully, but these errors were encountered:
Consider this element:
Current behaviour: clicking the field and then leaving it does not trigger validation because the model is
$pristine
.Expected behaviour: regardless of being
$pristine
, the validation display should trigger when the model becomes$touched
. I think it would be more logical to display validity status after entering and leaving the input.See how Angular Material, a popular Angular.js library implements the described behaviour. (scroll down to Errors section to see a required field, and click into it, then out of it.) https://material.angularjs.org/HEAD/demo/input
What are your thoughts on this one?
The text was updated successfully, but these errors were encountered: