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')
Was this page helpful?