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 |
How will you convert a string into a percentage?
Explain different filters provided by angularjs?
Why angular material is used?
What is the tslint.json file used for?
What are the web application security risks that a web developer should avoid while doing development using angularjs?
What is @input and @output in angular 2?
How to use styleurls and styles in angular?
Explain The Directives Ng-If, Ng-Switch, And Ng-Repeat?
How to solve fflickering issue in angular js?
How can digest cycle time be decreased?
Explain how logs are maintained in angularjs?
How to setup and create angular services?