FilamentF
Filament14mo ago
Steff

Action works fast but modal window hangs?

Tables\Actions\Action::make('Run')
    ->action(function ($record) {
        $service = new MyService();
        $result = $service->myServiceClass($record->id);
        // dd($result); up to here is fast, the action is ready
        // then the modal window hangs also without Notification
         Notification::make()
         ...
    })
    ->requiresConfirmation(),

does anyone have any ideas as to why this could be?
Solution
I think i found it:
'debug' => FALSE,
Was this page helpful?