-
Notifications
You must be signed in to change notification settings - Fork 3.4k
input: ng-messages animation errors #10461
Comments
Also happens on 1.5.5 - repro on 1.6.2 aswell @topherfangio as the one who wrote this code, do you know what's going on? |
I am also seeing this in 1.1.3 |
I've also seen the opposite where input errors can stick, however I am having trouble duplicating in a codepen. Here is a tiny code pen for demonstrating something similar to what @ThomasBurleson is showing: https://codepen.io/mckenzielong/pen/qmZVyo
|
We are seeing this issue as well: |
I know this was a long ago but anyone know how to solve this issue? |
@AnushaputtaUI no one has investigated this issue yet. If you'd like to look into it, I'd like to know what you find. If you can find a solution, then sending a PR would be great. Verified that it still exists with AngularJS 1.7.0 and AngularJS Material 1.1.9 in this updated CodePen. |
This was implemented in ce5f7c2 This was to fix a problem with displaying the messages. There are situations like the one provided in the demo where you just would like to highlight the problematic field but without showing any extra error messages. I believe the fix required was in 4 lines (the rest was not really needed): I will test it. |
There is no requirement to include the messages in case of an error. Highlighting the field can be enough. Fixes angular#10461
Adding CodePen with my fix applied. |
There is no need to trigger the animations if there are no messages to animate in. Fixes angular#10461
There is no requirement to include the messages in case of an error. Highlighting the field can be enough. Fixes angular#10461
Visible with ng 1.5.x and 1.6.x
The text was updated successfully, but these errors were encountered: