F
Filament11mo ago
BBB

Action without refreshing component ?

Hi, Is it possible to have an action without request to component ?
Action::make('details')->action(fn (Asset $record) => $this->dispatch('modal', component: 'file-details', params : ['uuid' => $record->uuid]))
Action::make('details')->action(fn (Asset $record) => $this->dispatch('modal', component: 'file-details', params : ['uuid' => $record->uuid]))
He's doing this :
wire:click="mountTableAction('details', '5')
wire:click="mountTableAction('details', '5')
Is it possible to directly have a button instead ? @click="$dispatch('modal')". Thank you.
0 Replies
No replies yetBe the first to reply to this messageJoin