© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
21 replies
pepe.nectar

Action inside a custom widget

I'm trying to include an action inside a custom widget. The problem is that if I click on the action button the dialog doesn't open even if I've included the <x-filament-actions::modals /> in the widget blade.

Any idea of what's going on?
Screenshot_2023-10-10_at_08.35.26.png
Screenshot_2023-10-10_at_08.35.58.png
Solution
Action name and method must match:
Action::make('testAction')
Action::make('testAction')
Jump to solution
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources
Was this page helpful?

Similar Threads

Recent Announcements

Similar Threads

Custom Javascript inside widget
FilamentFFilament / ❓┊help
3y ago
Custom widget action steps
FilamentFFilament / ❓┊help
12mo ago
Use Action inside a custom field
FilamentFFilament / ❓┊help
2y ago
Custom action modal on widget?
FilamentFFilament / ❓┊help
3w ago