F
Filament5mo ago
wad

Action not trigger

The accept button within the notification could not be triggered successfully
No description
1 Reply
Dennis Koch
Dennis Koch5mo ago
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. Not really sure what ->action() is used for, but it's not the same as on other Action classes.
Want results from more Discord servers?
Add your server