Passing an argument to a custom table action

->actions([
Tables\Actions\EditAction::make(),
\Filament\Tables\Actions\Action::make('Generate QR Codes')
->label('QRCodes')
->action('generateAndDownloadQRCodes')
->color('success')
// ->record(fn($record) => $record->id)
->arguments(fn($record) => ['id' => $record->id])
])
->actions([
Tables\Actions\EditAction::make(),
\Filament\Tables\Actions\Action::make('Generate QR Codes')
->label('QRCodes')
->action('generateAndDownloadQRCodes')
->color('success')
// ->record(fn($record) => $record->id)
->arguments(fn($record) => ['id' => $record->id])
])
how to pass arguments to a custom action, search the entire documentation did see anything mentioned regarding this
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server