diff options
| author | Caitlin Potter | 2014-03-22 22:39:47 -0400 |
|---|---|---|
| committer | Caitlin Potter | 2014-03-24 10:54:09 -0400 |
| commit | b472d0275f2900beba3b1f2fcee821369f8c15c1 (patch) | |
| tree | e680b9f8a29e64d8b53231d3ecaaa7e1c4f24b95 | |
| parent | 8339c2ebffd513a22578ee549b0ecf08c2ff6eb8 (diff) | |
| download | angular.js-b472d0275f2900beba3b1f2fcee821369f8c15c1.tar.bz2 | |
fix(input): don't perform HTML5 validation on updated model-valueg3_v1_3
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 cb432c52..2f78db04 100644 --- a/src/ng/directive/input.js +++ b/src/ng/directive/input.js @@ -874,7 +874,6 @@ function addNativeHtml5Validators(ctrl, validatorName, element) { return value; }; ctrl.$parsers.push(validator); - ctrl.$formatters.push(validator); } } |
