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

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

Comments

Projects
None yet
1 participant
@ermouth
Owner

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

1.2.5
Fix for #24, #25
@ermouth

This comment has been minimized.

Show comment
Hide comment
@ermouth

ermouth May 12, 2016

Owner

Fixed in 1.2.5

Owner

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