CodeBeam.MudBlazor.Extensions icon indicating copy to clipboard operation
CodeBeam.MudBlazor.Extensions copied to clipboard

Modify Buttons for Stepper

Open afnan opened this issue 1 year ago • 1 comments
trafficstars

I am after the ability to modify the text on the buttons for steps. Is this something that is possible?

for example:

 <MudStepExtended IsResultStep="true" NextButtonText="Checkout"  Icon="@Icons.Material.Filled.Money" Title="Checkout" Order="3">
     <ChildContent>
         @if (_stepper?.GetActiveIndex() == 2)
         {
             <Checkout />
         }
     </ChildContent>     
 </MudStepExtended>

If thats too much then perhaps possibility to disable next button and display custom buttons?

afnan avatar Aug 09 '24 03:08 afnan

You can hide each button and create your own ones in ActionContent.

I didn't understand which text, you mean title on the top of each step icon?

mckaragoz avatar Aug 13 '24 14:08 mckaragoz

You can use StepperLocalizedStrings for each text.

mckaragoz avatar May 01 '25 09:05 mckaragoz