How to use Typescript in the Multi Step Wizard ? #4829
Replies: 1 comment
-
I achieved it by creating type extractors :
|
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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Here's my page using the MultiStepWizard component provided in the documentation (https://vee-validate.logaretm.com/v4/examples/multistep-form-wizard/). Unfortunately, it doesn't support Typescript. the
submit
emit of the wizard gives aformData:any
instead of a typed formData. How can I achieve that?Basically, what I would need to do is to extract and concat the types from my validationSchema array, but I have no idea how to do this.
Beta Was this translation helpful? Give feedback.
All reactions