Enable all Steps
abhiburk opened this issue · comments
Abhishek Burkule commented
I am unable to activate all steps using the below configurations
$('#smartwizard').smartWizard({
useURLhash:false,
showStepURLhash:false,
enableAllSteps: true,
enableFinishButton: false,
transitionEffect:'fade',
toolbarSettings: {toolbarPosition: 'bottom',
toolbarExtraButtons: [btnFinish, btnCancel]
},
anchorClickable : true, // Enable/Disable anchor navigation
enableAllAnchors : true, // Activates all anchors clickable all times
markDoneStep : true, // add done css
enableAnchorOnDoneStep : true // Enable/Disable the done steps navigation
});
Only first step is active by default also what if my form is update form having values already in it and want to move to clicked tab in the form. So for now I am unable to activate all steps
Abhishek Burkule commented
Okay I found the answer along with the enabledSteps:true also i had to add this
anchorSettings: {
anchorClickable: true, // Enable/Disable anchor navigation
enableAllAnchors: true, // Activates all anchors clickable all times
markDoneStep: true, // Add done css
markAllPreviousStepsAsDone: true, // When a step selected by url hash, all previous steps are marked done
removeDoneStepOnNavigateBack: true, // While navigate back done step after active step will be cleared
enableAnchorOnDoneStep: true // Enable/Disable the done steps navigation
},