I wanted to implement branching in my custom made stepper functionality.
In Component A we have 3 buttons. Yes, No, Next & Prev.
For each button I need to load the respective component.
When the user click on yes button I need to load the Yes Component similarly when user clicks on No button I need to load the No Component.
Main problem is when the user click on the Prev button I could see the No component. which is not correct.
How Can I resolve this design problem ? Please help.
Below is the working prototype of the stepper function