-2

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

ilpianoforte
  • 1,180
  • 1
  • 10
  • 28
Kountou
  • 1
  • 2
  • Hi and welcome to Stack Overflow. Please read [How to Ask a question](https://stackoverflow.com/help/how-to-ask) and provide a starting point in code. – Roy May 12 '22 at 12:58
  • Without any code it's difficult to help you but to answer your question- you remember said variable (in the component, a service, sessionStorage, etc). – Aldin Bradaric May 12 '22 at 14:23
  • To get help, you need to show up some code, or even better an not working stackblitz with the problem isolated, otherwise you just get downvoted and get frustrated. – Eduard May 13 '22 at 07:55

2 Answers2

0

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!

Kountou
  • 1
  • 2
-1

u can use conditional if. This is a possibility.

  • Where do i put that "if"? On the parent or on the step itself? – Kountou May 13 '22 at 07:02
  • As it’s currently written, your answer is unclear. Please [edit] to add additional details that will help others understand how this addresses the question asked. You can find more information on how to write good answers [in the help center](/help/how-to-answer). – Community May 14 '22 at 17:08