© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
123 replies
Jack Sleight

Passing an ID to a custom edit action

I'm trying to create an edit action on a custom page that allows me to edit a model directly from the page (rather than going to the normal resource page). It mostly works, but I'm running into problems passing the right model ID to the action as an argument. If I hard-code an ID it works perfectly.
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

Passing ID to a custom header action in show page
FilamentFFilament / ❓┊help
12mo ago
Custom Page Table Method Edit Action passing Current Record
FilamentFFilament / ❓┊help
13mo ago
How to add a custom id or class to an Action button?
FilamentFFilament / ❓┊help
2y ago
How to close an ActionGroup dropdown with a custom action function
FilamentFFilament / ❓┊help
3y ago
Next page