From b472d0275f2900beba3b1f2fcee821369f8c15c1 Mon Sep 17 00:00:00 2001 From: Caitlin Potter Date: Sat, 22 Mar 2014 22:39:47 -0400 Subject: [PATCH] fix(input): don't perform HTML5 validation on updated model-value 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 --- src/ng/directive/input.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/ng/directive/input.js b/src/ng/directive/input.js index cb432c52a5c7..2f78db049edd 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); } }