Skip to content

Events

PropertyTypeDescription
onStepChangefunction(optional) Will be called when the user navigate to a different step, with step index as the first argument and previous or next (or stepListModified when a step gets replaced) as the second argument, and as the third parameter an options object containing a preventNavigation function, an id if given on the Wizard.Step and a previousStep object containing the previous index (and id if given on the Wizard.Step). When an async function is provided, it will show an indicator on the submit button during the form submission. All form elements will be disabled during the submit. The indicator will be shown for minimum 1 second. Related Form.Handler props: minimumAsyncBehaviorTime and asyncSubmitTimeout.