I have a Stepper with 3 steps each has it's own component. I am not using Forms at each step so i have bunch of input fields at every step.
The problem is Oninit method of all steps are called at load of first step itself. This messes up my code as i load data from a variable passed from Ist step to 2nd step. Is there a way to avoid loading all oninit of every step on the first step itself?
See the problem on below link and open console: https://stackblitz.com/edit/angular-vpoj5j
I cannot find a solution though i found someone else also encountered the same. https://github.com/angular/material2/issues/7985