torgodly
wire:loading Not Triggering During Action Dispatch in Filament
I'm having trouble getting the wire:loading indicator to show when dispatching an event from a Filament action. The action works, but the loading spinner doesn’t appear. Here's the code I'm using:
Tables\Actions\Action::make('test')
->dispatch('triggerPrint', ['action' => 'print', 'element' => 1]),
Does anyone know how to fix this or get wire:loading to work with action dispatch? Thanks!2 replies