Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Go to a specific step programmatically or Reset #26

Open
Anas-Nabulsi opened this issue Mar 31, 2022 · 1 comment
Open

Go to a specific step programmatically or Reset #26

Anas-Nabulsi opened this issue Mar 31, 2022 · 1 comment

Comments

@Anas-Nabulsi
Copy link

How can you go to a specific step programmatically? and how can you reset the form to be empty or reset the steps to go back to the first one?

@edenriquez
Copy link
Owner

there is no go to specific step method but internally we pass a number to a function in order to move to the next step, I can expose that function to let you use it, for the reset form there is a resetSteps flag have you tried to put it as true ? if you mean reset the form you pass to the plugin then you should pass a function to clean the data whenever you want ( a error, specific action, etc)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants