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!
Solution:
OK, the fix was... adding HasActions and InteractsWithActions trait to my livewire class
Jump to solution
1 Reply
Solution
martijn
martijn2mo ago
OK, the fix was... adding HasActions and InteractsWithActions trait to my livewire class

Did you find this page helpful?