Tomato
Tomato
FFilament
Created by Tomato on 3/23/2025 in #❓┊help
Need action that open url and refresh table
i used this
->url(fn (Client $record) => route('api.client.whatsapp', $record->id), shouldOpenInNewTab: true)
->extraAttributes([
'wire:click' => '$dispatch(`refreshTable`, JSON.parse(`{\u0022id\u0022:\u0022refreshTable\u0022}`))'
]),
->url(fn (Client $record) => route('api.client.whatsapp', $record->id), shouldOpenInNewTab: true)
->extraAttributes([
'wire:click' => '$dispatch(`refreshTable`, JSON.parse(`{\u0022id\u0022:\u0022refreshTable\u0022}`))'
]),
from this website https://github.com/filamentphp/filament/issues/15747 i dont know this is issue or not, but this is not good readable code, please make action with url and dispatch work together.
3 replies
FFilament
Created by Tomato on 3/23/2025 in #❓┊help
Need action that open url and refresh table
->url(fn (Client $record) => route('api.client.whatsapp', $record->id), shouldOpenInNewTab: true)
->dispatch('refreshTable'),
->url(fn (Client $record) => route('api.client.whatsapp', $record->id), shouldOpenInNewTab: true)
->dispatch('refreshTable'),
need url and dispatch work together
3 replies