So I'm making a form with jQuery Steps but select isn't working properly. When I pick from the dropdown, nothing happens. The default option is still the one that is selected.
I'm using https://developer.snapappointments.com/bootstrap-select/ for the selection.
js code:
$('#wizard_vertical').steps({
headerTag: 'h3',
bodyTag: 'section',
transitionEffect: 'slideLeft',
stepsOrientation: 'vertical',
onInit: function (event, currentIndex) {
setButtonWavesEffect(event);
},
onStepChanged: function (event, currentIndex, priorIndex) {
setButtonWavesEffect(event);
}
});
Also, select works properly outside the form.
I really have no idea how to fix this so help will be greatly appreciated.
Load the selectpicker with javascript after jquery-steps has been initialized.
HTML
Javascript
Or just call the refresh method
HTML
Javascript