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

ngChange won't propagate if the model is invalid. #7866

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/ng/directive/input.js
Original file line number Diff line number Diff line change
Expand Up @@ -2069,7 +2069,9 @@ var ngModelDirective = function() {
* The expression is evaluated immediately, unlike the JavaScript onchange event
* which only triggers at the end of a change (usually, when the user leaves the
* form element or presses the return key).
* The expression is not evaluated when the value change is coming from the model.
* The expression is not evaluated when the value change is coming from the model
* or when the input does not match the pattern defined for the input in ngPattern.
*
*
* Note, this directive requires `ngModel` to be present.
*
Expand Down