F
Filament2mo 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
neverything3w ago
I did it like this for now: $wizard->previousAction(fn (StaticAction $action) => $action->extraAttributes(['style' => 'display: none;']));
Want results from more Discord servers?
Add your server