maiyaporn/angular2-wizard

is possible to control next/prev button from one wizard to another wizard

Opened this issue · 1 comments

How to restrict wizard from one to another wizard?
In my case:
If next is clicked.
I want to save form in server side. If form data are invalid mean i need to stop the wizard from one to another.
[isValid] is only restrict before click next. But in my case its not useful.

You can use goToStep(step) method, step is WizardStepComponent. You can find your step in WizardComponent.steps which returns an array of step.