Multiple forms on one page, with different defaultValues #1763
Answered
by
bluebill1049
h0jeZvgoxFepBQ2C
asked this question in
General
-
Is there any better solutation than this? const { register, handleSubmit, watch, errors, setError, control } = useForm({
defaultValues: object1
})
const { register2, handleSubmit2, watch2, errors2, setError2, control2 } = useForm({
defaultValues: object2
}) |
Beta Was this translation helpful? Give feedback.
Answered by
bluebill1049
Jun 3, 2020
Replies: 3 comments 18 replies
-
here is a video on building multiple steps forms: https://www.youtube.com/watch?v=CeAkxVwsyMU |
Beta Was this translation helpful? Give feedback.
13 replies
Answer selected by
bluebill1049
-
How to build two different forms in the same component? |
Beta Was this translation helpful? Give feedback.
5 replies
-
antd 2 different forms how to use useForm in reactjs |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
here is a video on building multiple steps forms: https://www.youtube.com/watch?v=CeAkxVwsyMU