FilamentF
Filament3y ago
Wim

custom action

I'm staring blind at the documentation. I clearly don't understand how it works.

I want to have a custom row action in a resource table (e.g. next to view/edit/delete I'd like to see 'pay'). Clicking this should bring the user to a separate page where information is shown about the product and which contains a button to pay

How can this be done?
Solution
  1. Yes sounds good to me. Create a page, register it on your resource. You don’t need a redirect then ->url() on the action should be fine.
  2. That’s just basic livewire wire:click="yourMerhod". Check the LW docs.
Was this page helpful?