What are different states of a form in AngularJS?



What are different states of a form in AngularJS?..

Answer / chaitanya

The AngularJS form goes to the following states, starting from the form rendering and when the user has finished the filling of form.

State 1: pristine and invalid - When the form is first time rendered and the user has not interacted with the form yet.

State 2: dirty and invalid - User has interacted with the form, but form validity has not been satisfied, yet.

State 3: dirty and valid - User has finished the filling of form and the entire form validations has been satisfied

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More AngularJS Interview Questions

What is route params?

0 Answers  


How angular 4 is different from angular 2?

0 Answers  


How to viewing the angular 4 apps in a browser using ionic 3 cli?

0 Answers  


What is router events in angular?

0 Answers  


What do you know about internationalization? How will you implement internationalization in angularjs?

0 Answers  






What the link function is and how it differs from compile?

0 Answers  


Is mean stack in demand?

0 Answers  


What is angular8?

0 Answers  


What is entry point in angular?

0 Answers  


What are different ways of bootstrapping AngularJS?

0 Answers  


What is core module in AngularJS?

1 Answers   SLK Software,


What is web sockets?

0 Answers  


Categories