Action call livewire method
On table action, is it possible to call livewire method? Thankyou so much!
4 Replies
i try to doit like this
but it doesnt call activate method
Returning the string won't work
You should just call the method from the ->action closure on the Action
with $this->method() ??
action(‘activate’) or action(fn ($livewire, $record) => $livewire->activate($record))