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 Sep 5, 2024. It is now read-only.
Repository navigation
This repository was archived by the owner on Sep 5, 2024. It is now read-only.
input-container: ng-messages are no longer hidden on form reset as of 1.1.1 #9543
@rhinoceraptor Thanks! This does confirm my suspicion that this is related to ngAnimate. I believe I had commented before on a similar issue where I mentioned we have solution built in an internal PR. The code will need to be cherrypicked.
changed the title [-]Angular Material 1.1.1 hide ng-message on reset [/-][+]input-container: ng-messages are no longer hidden on form reset as of 1.1.1[/+]on Jul 30, 2018
Activity
botjaeger commentedon Sep 8, 2016
yea me too, i'm experiencing that kind of issue. so i decided to go back to Angular Material Version 1.1.0rc5
botjaeger commentedon Sep 8, 2016
hope someone can help us here. cause i really need the new browser color feature of new update in angular material
tom94zoe commentedon Sep 8, 2016
That would be fine, but I think this bug will be fixed with 1.1.3. So we have to wait some weeks.
ThomasBurleson commentedon Oct 14, 2016
@tom94zoe - can you provide a CodePen for use to verify fixes?
rhinoceraptor commentedon Oct 18, 2016
@ThomasBurleson Here is a codepen I made showing the bug:
https://codepen.io/rhinocerapt0r/pen/ORBQJZ?editors=1011
To replicate it, focus and un-focus the text field, then hit the reset button. The error message should be hidden, but isn't.
clshortfuse commentedon Oct 18, 2016
@rhinoceraptor Thanks! This does confirm my suspicion that this is related to ngAnimate. I believe I had commented before on a similar issue where I mentioned we have solution built in an internal PR. The code will need to be cherrypicked.
rhinoceraptor commentedon Oct 18, 2016
I forgot to mention, if you change the version of the Angular material CSS and JS to 1.0.9, you can see it working properly.
rhinoceraptor commentedon Oct 18, 2016
I think this is a duplicate issue. I couldn't downgrade my version of angular material, so I used this CSS workaround:
samithaf commentedon Nov 3, 2016
@rhinoceraptor the fix is working but there is a small UI defect and can be fixed by adding following.
15 remaining items
Fix para ng-messages when resetting form done
fix(input): correct initial animation state of messages (#10246)
[-]Angular Material 1.1.1 hide ng-message on reset [/-][+]input-container: ng-messages are no longer hidden on form reset as of 1.1.1[/+]Splaktar commentedon Jul 30, 2018
This is fixed in 1.1.10 as seen in this updated CodePen.
Originally fixed in
1.1.5via 0151b4b.