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

Give an identifier to a step and use goToStep using that identifier #83

Closed
HemaDivami opened this issue Jan 5, 2018 · 1 comment
Closed

Comments

@HemaDivami
Copy link

HemaDivami commented Jan 5, 2018

Hi,

I have a scenario where I have to move to a step in which sometimes the step maybe visible or maybe not. So, it will be a good idea to give an identifier to that step and move to that step so that identifier issues will not come.

For example,
goToStep="address" will move to a wizard-step which has its identifier as address.

Thanks.

@madoar
Copy link
Owner

madoar commented Jan 7, 2018

It is currently not possible to add an identifier to wizard steps, and then to navigate to them through said identifier.

What you can do is to use the index of the target step.
goToStep allows as an input a target step index.
If the index changes with some logic you can also provide a method to goToStep that returns the index of the target step the wizard should navigate to.

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

No branches or pull requests

2 participants