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
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'}.
The text was updated successfully, but these errors were encountered:
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'}
.The text was updated successfully, but these errors were encountered: