Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 2a2fd14

Browse files
hzoocaitp
authored andcommitted
docs(guide/Forms): clarify ngModel behavior for validation
Bueno! Closes #9866
1 parent e4eb382 commit 2a2fd14

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/content/guide/forms.ngdoc

+3
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,9 @@ for other directives to augment its behavior.
5656

5757
Note that `novalidate` is used to disable browser's native form validation.
5858

59+
The value of `ngModel` won't be set unless it passes validation for the input field.
60+
For example: inputs of type `email` must have a value in the form of `user@domain`.
61+
5962

6063

6164
# Using CSS classes

0 commit comments

Comments
 (0)