Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Change WizardStep button text

Tags:

wizard

sapui5

How can I rename the button text (default "step 1" till "step n") of each WizardStep?.

For the entire Wizard the text of the finish button can be set by setting the property finishButtonText. But there is no similar property for the WizardStep.

like image 411
SBIC Avatar asked May 13 '26 13:05

SBIC


1 Answers

There is no standard way. Here is how I achieved it.

Step 1. Deactivate the standard buttons using showNextButton="false" on the Wizard control. Step 2. In each of the WizardSteps' content, have your own buttons (As the last control) with the required text. Step 3. In the press event of the custom buttons you added, do the validation (consider using API validateStep) and call nextStep() API of the Wizard control.

like image 99
krisho Avatar answered May 18 '26 10:05

krisho



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!