maiyaporn/angular2-wizard

How can handle if I have child form navigation

Opened this issue · 1 comments

How can I handle if i have child form navigations
Ex: Step1 have step1(a) and step1(b) navigations, But My active step should be step1 only. Please advice me

Perhaps you could try to add another wizard inside it, you'd have to assign a viewChild variable to it so you could control it from your component, something like


//HTML
<form-wizard #wizardchild>
//Component
@ViewChild('wizardchild') private child: FormWizard;
//then call methods like such
child.onNext();