diff options
| author | Caitlin Potter | 2014-03-22 22:39:47 -0400 |
|---|---|---|
| committer | Caitlin Potter | 2014-03-24 10:57:42 -0400 |
| commit | b2363e31023df8240113f68b4e01d942f8009b60 (patch) | |
| tree | 51d39d1fb2465a98eaa31dcd6ec7e05ac5a978e2 | |
| parent | edfca4c769333ab4c313c4686d81875eae50bd56 (diff) | |
| download | angular.js-b2363e31023df8240113f68b4e01d942f8009b60.tar.bz2 | |
fix(input): don't perform HTML5 validation on updated model-valueg3_v1_2
Running html5-validation immediately after model-value is updated is incorrect, because the view
has not updated, and HTML5 constraint validation has not adjusted.
Closes #6796
Closes #6806
| -rw-r--r-- | src/ng/directive/input.js | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/ng/directive/input.js b/src/ng/directive/input.js index c31bb400..b49b625e 100644 --- a/src/ng/directive/input.js +++ b/src/ng/directive/input.js @@ -450,7 +450,6 @@ function addNativeHtml5Validators(ctrl, validatorName, element) { return value; }; ctrl.$parsers.push(validator); - ctrl.$formatters.push(validator); } } |
