© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•2y ago•
4 replies
Philipp Bürger

Passing record to resource create page

Hey! I'am trying the following: I want to pass a record to the create page of a resource. I do this by customize the
create
create
entry in the
getPages()
getPages()
. In the action where I link to the create page i pass the model. To this point everything works fine. But now I want to resolve the passed model and prefill some of the fields in the create form. Any ideas how I can achieve this?
Solution
You would pass the fields in as query parameters in the route? then use the mount function to $this->form->fill ?
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

Passing parent model to a child resource's create page
FilamentFFilament / ❓┊help
3y ago
Resource > Page > Create fails
FilamentFFilament / ❓┊help
11mo ago
send parameter to create record page
FilamentFFilament / ❓┊help
2y ago
How to create a resource record from another resource?
FilamentFFilament / ❓┊help
3y ago