F
Filament3mo ago
Harold

How to disable the previous button on Wizard Form

The question is self explanatory. Found one question which was the same but it does not work. It's visually disabled but you can still click on it and go back. ->previousAction(fn ($action) => $action->disabled())
1 Reply
neverything
neverything3mo ago
I did it like this for now: $wizard->previousAction(fn (StaticAction $action) => $action->extraAttributes(['style' => 'display: none;']));

Did you find this page helpful?