Clicking widget action does nothing
I've followed the docs for adding a custom action to a widget, but when I add ->form() or ->action() to the Action component, nothing happens when I click it.
I do see a livewire update network event but no errors in browser console.


Solution:Jump to solution
The function name and action name need to be the same. Ie modalAction, make::(‘modalAction’)
5 Replies

Remove the ::modals/> call, I don't think is needed because one already exists in the admin panel.
Thank you, but this doesn't seem to fix it.
Is there something from Livewire I can run in the browser console that would give me feedback?
Solution
The function name and action name need to be the same. Ie modalAction, make::(‘modalAction’)
That's it, thank you 🫶