FilamentF
Filament3y 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]))


He's doing this :

wire:click="mountTableAction('details', '5')


Is it possible to directly have a button instead ? @click="$dispatch('modal')".

Thank you.
Was this page helpful?