#Action not trigger

2 messages · Page 1 of 1 (latest)

terse swan
#

The accept button within the notification could not be triggered successfully

fair garden
#

From the docs:

Notifications support Actions, which are buttons that render below the content of the notification. They can open a URL or dispatch a Livewire event.

So ->action() doesn't accept a Closure that's executed.