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.
I have an issue in 1.4.2 when using ngAnimate with a form. The bug seems to occur when an external watcher updates a model value. In the attached Plunker you can see that there is an input which is validated by its length. At the same time, there is a watcher on $viewValue which restricts the length of the same input to that length. When the input reaches that length, typing additional characters triggers the validator and watcher (then the validator again, after the watcher changes the value). The end result is $valid being true, as shown in the Plunker.
In 1.3.16 with and without ngAnimate, and in 1.4.2 without ngAnimate, this works as expected. However, on 1.4.2 with ngAnimate the validity classes fall out of sync with the state of the model.