I use AngularJS
For example, I have an object error: {"email": {"required": []}, "first_name": {"minimum": ["2"]}, "last_name": {"required": []}}
I want
First_name: min 2
last_name: required
Print all data created in this object Listed - Email: ...
Please imagine that this is a part of several errors that may be form submission It may be time to write.
By using DOT notation in this way, we created nested objects and their properties You can also access them.
No comments:
Post a Comment