mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-24 12:05:46 +08:00
docs(guide/Forms): clarify ngModel behavior for validation
Bueno! Closes #9866
This commit is contained in:
committed by
Caitlin Potter
parent
e4eb382f2d
commit
2a2fd14c08
@@ -56,6 +56,9 @@ for other directives to augment its behavior.
|
||||
|
||||
Note that `novalidate` is used to disable browser's native form validation.
|
||||
|
||||
The value of `ngModel` won't be set unless it passes validation for the input field.
|
||||
For example: inputs of type `email` must have a value in the form of `user@domain`.
|
||||
|
||||
|
||||
|
||||
# Using CSS classes
|
||||
|
||||
Reference in New Issue
Block a user