'How to skip a step if a condition is met in a previous step - Stepper | Angular Material

How do I skip a step using a true/false condition of a variable present in a few steps back?



Solution 1:[1]

u can use conditional if. This is a possibility.

Solution 2:[2]

I found the solution, that was after all so simple!

On the stepper's parent component html, I used a conditional ngIf that checks the value of a property saved on a form!

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 superdeder
Solution 2