© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•6mo ago•
3 replies
martijn

Filament4 'Adding “anonymous” actions to a form without attaching them to a component'

Hello, I have just updatd my project to v4 and one thing has stopped working , which is 'anonymous' in my form schema.

The following error is produced when i click the action button

Unable to call component method. Public method [mountAction] not found on component


in the v3 docs there is documentation (https://filamentphp.com/docs/3.x/forms/actions#adding-anonymous-actions-to-a-form-without-attaching-them-to-a-component) about it, it's missing in v4.

Thanks for any help!
Actions - Forms - Filament
Solution
OK, the fix was... adding HasActions and InteractsWithActions trait to my livewire class
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

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Use anonymous actions inside a modal form
FilamentFFilament / ❓┊help
2y ago
"anonymous" actions to a form but only on edit?
FilamentFFilament / ❓┊help
3y ago
Adding a form to a Livewire component
FilamentFFilament / ❓┊help
12mo ago
Adding a form to a Livewire component
FilamentFFilament / ❓┊help
2y ago