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

Commit b472d02

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 8339c2e commit b472d02

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
@@ -874,7 +874,6 @@ function addNativeHtml5Validators(ctrl, validatorName, element) {
874874
return value;
875875
};
876876
ctrl.$parsers.push(validator);
877-
ctrl.$formatters.push(validator);
878877
}
879878
}
880879

0 commit comments

Comments
 (0)