F
Filament2y ago
John

How to add a custom action to my custom Wizard?

I've implemented a CustomWizard extending the Filament Wizard. Including my own blade file. Next to the {{ $getSubmitAction() }} I'd like some additional actions. If I try to include this action there, the button is added, but the ->action() inside never gets called. Giving it a ->url() works, but I'd prefer to solve this the Livewire way. Another option would be to add additional submit buttons, but I'd have to know how to distinguish them in the backend. Any help is appreciated.
2 Replies
Dan Harrin
Dan Harrin2y ago
the only way would be to add a method on the livewire component to call and use wire:click
John
JohnOP2y ago
Ok, thanks Dan!
Want results from more Discord servers?
Add your server