Created
May 31, 2019 12:17
-
-
Save zenius/448cc1cf4a282a7e0aca69a92e047307 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Input fields have the following states: | |
$untouched The field has not been touched yet. | |
$touched The field has been touched. | |
$pristine The field has not been modified yet. | |
$dirty The field has been modified. | |
$invalid The field content is not valid. | |
$valid The field content is valid. | |
They are all properties of the input field, and are either true or false. | |
Forms have the following states: | |
$pristine No fields have been modified yet. | |
$dirty One or more have been modified. | |
$invalid The form content is not valid. | |
$valid The form content is valid. | |
$submitted The form is submitted. | |
They are all properties of the form, and are either true or false. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment