You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
If `$validate` is invoked when the model is already invalid, `$validate`
should pass `$$invalidModelValue` to the validators, not `$modelValue`.
Moreover, if `$validate` is invoked and it is found that the invalid model
has become valid, this previously invalid model should be assigned to
`$modelValue`.
Lastly, if `$validate` is invoked and it is found that the model has
become invalid, the previously valid model should be assigned to
`$$invalidModelValue`.
Closesangular#7836Closesangular#7837
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
See example at: http://plnkr.co/edit/i320YT1EX8Dmst6m7dVM?p=preview
$validate
is invoked while the value is invalid: entermax=5
,value=123456
=> changemax
to be 3 =>value
is now valid.$validate
validators are now valid: entermax=5
,value=123456
=> changemax
to be 9 =>value
is still undefined.$validate
validators are now invalid:max=9
,value=123456
=> changemax
to be 5 => value is still 123456The text was updated successfully, but these errors were encountered: