how to invoke all handleSubmit in nested form from main submit button #react-hooks-form #9612
Replies: 3 comments
-
Could you please share what is the reason to trigger all "handleSubmit" of each nested form ? |
Beta Was this translation helpful? Give feedback.
-
@leapful |
Beta Was this translation helpful? Give feedback.
-
The parent form still keeps all of its nested form values. You can also just use parent form submit o get the whole data. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
i am working on this from many days but unable to find any solution can any one tell me about how to invoke all handleSubmit in nested form from main submit button
this is the code sand box which provide official in hooks form documentation
https://codesandbox.io/s/usefieldarray-with-preview-odmtx5
Beta Was this translation helpful? Give feedback.
All reactions