© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•15mo ago•
4 replies
Azorky

Mount action from resource

self::getGLAccountField()
                                        ->live()
                                        ->afterStateUpdated(fn ($livewire) => $livewire->mountAction('changeLineItemGlAccount')),
self::getGLAccountField()
                                        ->live()
                                        ->afterStateUpdated(fn ($livewire) => $livewire->mountAction('changeLineItemGlAccount')),


I want to mount an action in my resource using the above code. When using this code on a custom Livewire page, this works, but in my resource I cannot get it to work.

I cannot seem to find anything in the docs mentioning how to mount actions like this in a resource.
Solution
I solved the issue. This code needed to be present on the Create and Edit pages, not on the resource itself
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

Mount action after another action
FilamentFFilament / ❓┊help
2y ago
Mount Existing Table Action From View Record Modal
FilamentFFilament / ❓┊help
4mo ago
Custom action to open create action of different resource from another resource
FilamentFFilament / ❓┊help
3y ago
Refresh page data from resource form action
FilamentFFilament / ❓┊help
15mo ago