Change de delete process in Tables\Actions\DeleteBulkAction Hooks

It's possible get records before DeleteBulkAction hook? ->bulkActions([ Tables\Actions\DeleteBulkAction::make() ->before(function (MyModel $record) { dd($record); }), ]); In edit record page this work: protected function getActions(): array { return [ Actions\DeleteAction::make() ->before(function (MyModel $record) { dd($record); }), ]; }
2 Replies
LeandroFerreira
Filament
Actions - Table Builder - Filament
The elegant TALL stack table builder for Laravel artisans.
Miguel Urtado
Miguel UrtadoOP2y ago
👏 this work... thank you very much.

Did you find this page helpful?