How can I save the data in the form when I render sections in this form? #1949
Answered
by
keiya01
REDLIGHTFILMS
asked this question in
Q&A
-
How can I save the data in the form when I render sections in this form? Like in the example "nested Forms". So I want to click through the sections with a stepper from Material UI and output everything at the end. How can I do this theoretically? |
Beta Was this translation helpful? Give feedback.
Answered by
keiya01
Jun 24, 2020
Replies: 1 comment 1 reply
-
You can use |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
bluebill1049
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can use
useFormContext
withFormContext
.https://react-hook-form.com/api/#useFormContext