Gabriel Alack Gabriel Alack - 7 months ago 10
Javascript Question

FuelUX Wizard component - how to manually select active step?

I'm not seeing any documentation for this.

How do you manually select which panel is active in the wizard component?

I know it's in there somewhere because you can click on one of the tabs once it's been passed, and navigate back to a previous tab.

Answer

Yes, you can change wizard step:

$('#MyWizard').wizard('selectItem', { step: step });

UPDATE:

After the last updates now it works with selectedItem

$('#MyWizard').wizard('selectedItem', { step: step });

Note the change from select to selected*.