FilamentF
Filament14mo ago
Arjan

Custom Notification for ExportAction

How do I display a custom notification for an ExportAction?

Using the 'normal' way does not work, the ExportAction keeps on displaying the default notification. My code:

 ExportAction::make()
                ->successNotification(
                    Notification::make()
                        ->success()
                        ->title('Export started....')
                        ->body('Go to My Exports to download the file.'),
                )
                ->exporter(PaymentExporter::class),


Thanks for you help!
Was this page helpful?