From dee2a7e0d18273ad3a64e60d329facc43a353284 Mon Sep 17 00:00:00 2001 From: Henry Zhu Date: Fri, 31 Oct 2014 17:45:31 -0400 Subject: [PATCH] docs(guide/Forms): clarify ngModel behavior for validation --- docs/content/guide/forms.ngdoc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/content/guide/forms.ngdoc b/docs/content/guide/forms.ngdoc index 4c7b4a1ac3de..370ffbe3f5c7 100644 --- a/docs/content/guide/forms.ngdoc +++ b/docs/content/guide/forms.ngdoc @@ -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