angular-archwizard
angular-archwizard copied to clipboard
Skip step or conditional step
Hi,
In my wizard I have a step where the users needs to sign in. However, in some cases the user is already signed in.
1 - overview 2 - sign in 3 - address details
How can I achieve the following ?
Without being signed in: 1 -> 2 -> 3
User is signed in: 1 -> 3
I look forward to the answer, Roy
I think the easiest solution is to define two wizards and (one with all three steps and the second one with only step 1 and 3) and then choose the one to be displayed according to the login status of your user.
If you want to implement both scenarios in one wizard you can try to use ngIf to disable/hide the second step based on the login status of the user.