-
Hi, i have registered nested inputs like:
How to reset all field of user2 to its default values?
i have deeper nesting so its pain in the ass to specify each field Please help me to figure this out |
Beta Was this translation helpful? Give feedback.
Answered by
skorphil
Feb 20, 2024
Replies: 1 comment
-
Ah, it's working just by specifying the closest parent like However, it will not work if user2 itself contains no fields, like:
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
skorphil
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Ah, it's working just by specifying the closest parent like
resetField("Users.user2")
However, it will not work if user2 itself contains no fields, like: