This is an enhancement request.
Wizard buttons can be modified via the activate event and replaced with a fully initialized Button, but it would be better to just offer more of the Button properties right on the wizard steps.buttons object properties. For example, the icon/image properties, fillMode, size, etc.
During the Done event for the Kendo UI Wizard, the button argument returns as undefined due to the span element being targeted rather than the button.
The button argument should return the clicked button which raised the event.
Enhancement
Expose setOptions() for Kendo Wizard
Desired Behavior
setOptions shall update Wizard steps
wizard.setOptions({
steps: steps
});Destroy current Wizard and reinitialize with new steps
let wizard = $("#wizard").data('kendoWizard');
wizard.destroy();
$("#wizard").empty();
let steps = [];
for (var i = 0; i < 4; i++) {
steps.push({
title: "Tab " + i,
content: "Tab Content " + i
});
}
$("#wizard").kendoWizard({
steps: steps
});Setting primary to false on the button of the Wizard has no effect.
There are two primary buttons, although the "Next" button is configured primary:false.
Primary:false should be taken into account and there should be only one primary button in the Wizard.