Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit b2363e3

Browse files
committed
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
1 parent edfca4c commit b2363e3

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/ng/directive/input.js

-1
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,6 @@ function addNativeHtml5Validators(ctrl, validatorName, element) {
450450
return value;
451451
};
452452
ctrl.$parsers.push(validator);
453-
ctrl.$formatters.push(validator);
454453
}
455454
}
456455

0 commit comments

Comments
 (0)