Skip to content
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

Parent form does not update errors tree on child form gets valid #24

Closed
ermouth opened this issue Apr 27, 2016 · 1 comment
Closed

Parent form does not update errors tree on child form gets valid #24

ermouth opened this issue Apr 27, 2016 · 1 comment
Labels
bug

Comments

@ermouth
Copy link
Owner

@ermouth ermouth commented Apr 27, 2016

If a child form was statically initialized as a standalone control (not element of a list), it may report errors for a parent despite all controls are valid.

Happens at least if subform instantiated with invalid values.

So after correcting all invalid fields calling $('#childFormId').errors() returns {}, but calling $('#parentFormId').errors() may still report {'#childFormId':{'#ctrlN':'Error message'}.

@ermouth ermouth added the bug label Apr 27, 2016
ermouth added a commit that referenced this issue May 12, 2016
Fix for #24, #25
@ermouth
Copy link
Owner Author

@ermouth ermouth commented May 12, 2016

Fixed in 1.2.5

@ermouth ermouth closed this May 12, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.