send parameter in custom action
how can i send parameter, which is record id, in table custom action
9 Replies
->action(function($record) {})
?sorry, can you give more example..
i'm calling the action in getTableActions()
this?
i'm using custom form by calling edit() in the livewire component.
that's why i'm not using EditAction class..
@Leandro Ferreira
would you like to redirect?
->url(fn ($record): string => route('route-name', ['id' => $record->id]))
no, i'm using a modal
Filament
Getting started - Table Builder - Filament
The elegant TALL stack table builder for Laravel artisans.
thanks, solved it with this..