F
Filament9mo ago
Mike

how to hide wizard back button?

I have a wizard with three steps, once user goes to the third step the post is created. I dont want to allow the user to go back, and forward again as that will create another post and confuse them. Is this possible to do? Also, is it possible to change the next button text on step 2, from next to create (not final step)
2 Replies
Lara Zeus
Lara Zeus9mo ago
try
->previousAction(
fn (Action $action) => $action->disabeld(),
)
->previousAction(
fn (Action $action) => $action->disabeld(),
)
ref https://filamentphp.com/docs/3.x/forms/layout/wizard#customizing-the-wizard-action-objects
Mike
MikeOP9mo ago
doesnt disable it :/ @Lara Zeus the back button becomes grayed out but i can still click it and go back
Want results from more Discord servers?
Add your server