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])
            ])

how to pass arguments to a custom action, search the entire documentation did see anything mentioned regarding this
Was this page helpful?