angular2-wizard icon indicating copy to clipboard operation
angular2-wizard copied to clipboard

How can handle if I have child form navigation

Open mullamohiddin opened this issue 8 years ago • 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

mullamohiddin avatar Nov 28 '17 18:11 mullamohiddin

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();

Agonzit avatar Dec 01 '17 16:12 Agonzit