Skip to content

Commit 9057ed2

Browse files
zahraghrodyhaddad
authored andcommitted
docs(FormController): document $submitted property
Closes angular#8732
1 parent c09f619 commit 9057ed2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/ng/directive/form.js

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ SUBMITTED_CLASS = 'ng-submitted';
2121
* @property {boolean} $dirty True if user has already interacted with the form.
2222
* @property {boolean} $valid True if all of the containing forms and controls are valid.
2323
* @property {boolean} $invalid True if at least one containing control or form is invalid.
24+
* @property {boolean} $submitted True if user has submitted the form even if its invalid.
2425
*
2526
* @property {Object} $error Is an object hash, containing references to all invalid controls or
2627
* forms, where:

0 commit comments

Comments
 (0)