Replies: 1 comment 1 reply
-
I would recommend keeping all the steps in the same model rather than having separate modals. As you mentioned, having separate modals will require you to validate everything again in each component. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, apologies is this has been addressed elsewhere I did have a good look.
What's the best way to pass data to a child modal, for example in a multi-step form?
Currently I am validating the data in step 1 modal, then passing it to the mount method of step 2 modal like so:
I then have to validate the step 1 data again in step 2 modal when that is submitted otherwise the validation could be by-passed.
Is there a better way to handle this?
Beta Was this translation helpful? Give feedback.
All reactions