-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
resetForm not working #1627
Comments
Thanks for reporting. Just to make sure we are talking about the same problem:
-> expected: the form should render as on the initial page load I get the same problem in FF43. Are you willing to provide a failling unit test? |
Update: I just found a typo in your Fiddle which seems to be the culprit. fixed version at http://jsfiddle.net/1t5nzoq2/ this
should be
right? |
should be this instead: http://jsfiddle.net/1t5nzoq2/1/ |
whatever ;-) |
@staabm I initially found the problem appeared in the model of the form, and then found that the form of the page is the case, I think that both sides are the same, so ...
form control still has red borders and label still are rendered in red color. |
@chaodongyue it is just a missconfiguration.
@staabm I don't know if this would be a bug or not, but shouldn't the validation message also be kept, since the ignore property is filtering the input that is hidden? |
@dkrahn Thank you very much, I finally know what happened |
in chrome v46,int resetForm() function unhighlight is no work,not remove errorClass.
I tracked on line 468 the elements variable is an object,this should be the Array of it.
http://jsfiddle.net/1t5nzoq2/
The text was updated successfully, but these errors were encountered: