© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
2 replies
Panda

Passing parent model to a child resource's create page

I have a
SeriesResource
SeriesResource
with a
ChapterRelationManager
ChapterRelationManager
and I want to create chapters in that series but the chapter has too many fields and I want a separate page for creating and editing chapter that's why I created a
ChapterResource
ChapterResource
.

I can easily link the create and edit button on
ChapterRelationManager
ChapterRelationManager
table to
ChapterResource
ChapterResource
's
create
create
and
edit
edit
pages but I'm having trouble passing the
Series
Series
to the
create
create
page of
ChapterResource
ChapterResource
as the
Chapter
Chapter
belongs to a
Series
Series
and I must need the series record in order to create the chapter.

Any help would be appreciated.
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 id to child create view
FilamentFFilament / ❓┊help
3y ago
Passing record to resource create page
FilamentFFilament / ❓┊help
2y ago
Auto Creating Child Model from Parent Resource
FilamentFFilament / ❓┊help
2y ago
Create child entries in RelationManager on view page of parent resource
FilamentFFilament / ❓┊help
2y ago