z-Fabiano Fernandes
the table action button does not retrieve the correct record
Simple resource ....
Deleted and recreated, but error still exists.
Not working (get always first row of table)
->action(function (Sale $record) { dd($record->id)}
Working fine
->url(fn (Sale $record): string => '/sales/' . $record->id . '/refund')
14 replies
the table action button does not retrieve the correct record
@Leandro Ferreira
Everything was working perfectly until yesterday.
But this code working very well
->url(fn (Model $record): string => '/sales/' . $record->id . '/refund')
14 replies
Change "Submit" button text on an Action Modal?
Yes, it possible
->modalSubmitActionLabel('Yes, delete it')
https://filamentphp.com/docs/3.x/actions/modals
3 replies