form states in AngularJS
Different form state than an angularjs form goes through are as follows
Pristine & Invalid
Pristine & Invalid
- The form has been created first time and user has not interacted with it.
Dirty & Valid
- User has interacted with the form but form validity has not been satisfied.
Dirty & Valid
- User has filled the form successfully and form validation has been satisfied.

No comments