© 2026 Hedgehog Software, LLC

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

Custom record pass to recordActions of resource page

Is resource model always passed to record action in resource pages? Can I set record using ->record($record->client)? I have custom action ClientCardAction and want to pass related client record from invoice in InvoiceResource.

Right now I use mountUsing to set record from closure, but dont know is that ok way to do it
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

Custom page with resource record error
FilamentFFilament / ❓┊help
14mo ago
Redirect to viewing record of resource from a custom page
FilamentFFilament / ❓┊help
3y ago
record of custom page to widget
FilamentFFilament / ❓┊help
3y ago
Passing record to resource create page
FilamentFFilament / ❓┊help
2y ago