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
It would be nice to get validation errors on deeper object models when it's parent is undefined. Right now it ends at the parent model as being required. For example, If I have a foo.bar.baz model and baz is required and the required chain is complete meaning foo and bar are required, having the validation error on baz would be more helpful then having the error on foo because in most cases, the baz is referenced in the view.
The text was updated successfully, but these errors were encountered:
sophypal
changed the title
Validation Errors on Objects
Validation Errors on Deep Objects
Jul 14, 2017
It would be nice to get validation errors on deeper object models when it's parent is undefined. Right now it ends at the parent model as being required. For example, If I have a
foo.bar.baz
model andbaz
is required and the required chain is complete meaningfoo
andbar
are required, having the validation error onbaz
would be more helpful then having the error onfoo
because in most cases, thebaz
is referenced in the view.The text was updated successfully, but these errors were encountered: