© 2026 Hedgehog Software, LLC

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

CreateAction in RelationManager at table headerActions always use related resource form

I am struggel with tring to use fucntion form on Relation Manager class. For EditAction it works well it will always use form defined in RelationManager class, but for CreateAction it use the related Form instead. For example: course has many lessons. I make LessonsRelationManager for Course with relationship called lessons().
In the LessonsRelationshipManager I have public function form() that I defined here. But when clicking at CreateAction it jump to use form in the LessonResource class instead. How I can still use the form that is in LessionRelationManger for this action. I don't find problem in Filament 3, but problem in Filament 4.
image.png
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

How to use CreateAction for a resource in an unrelated resources table headerActions?
FilamentFFilament / ❓┊help
16mo ago
CreateAction in RelationManager's headerActions go to the resource create page instead of modal
FilamentFFilament / ❓┊help
3y ago
headerActions: "mutateFormDataUsing" method not working in RelationManager table
FilamentFFilament / ❓┊help
3y ago
EditAction enabling hidden CreateAction in headerActions
FilamentFFilament / ❓┊help
2y ago