#is passing form as a prop a good idea ?

7 messages · Page 1 of 1 (latest)

shrewd rover
#

hello I m building a multistep form with 3 sections I was wondering if passing the form as prop to all section in order to link the form with inputs in the different sections like so

verbal comet
#

Yes, why wouldn't it be?

#

If you need it, pass it.

#

You can also use separate forms for every step.

#

Depends on how you plan to use it.

shrewd rover
#

thanks well i was just wondering as for using different forms I would like to just have one to keep it simple bcz we might add more sections down the road

weary oxide