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
This commit is contained in:
Caitlin Potter
2014-03-22 22:39:47 -04:00
parent edfca4c769
commit b2363e3102
-1
View File
@@ -450,7 +450,6 @@ function addNativeHtml5Validators(ctrl, validatorName, element) {
return value;
};
ctrl.$parsers.push(validator);
ctrl.$formatters.push(validator);
}
}