© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•2y ago•
1 reply
John Parker

Form Builder support for polymorphic relationships

I know you can create forms that perform CRUD operations on relationships by using
->relationship('<relationship property>')
->relationship('<relationship property>')
, within Section, Group, etc.

However, I'm wondering what the cleanest approach would be to support polymorphic tables, where you'd need to be able to specify what the
id
id
and
type
type
field names are.
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

Builder query for polymorphic relations
FilamentFFilament / ❓┊help
3y ago
Managing Relationships in the Form Builder
FilamentFFilament / ❓┊help
3y ago
Set default MorphTo relationships in Form Builder
FilamentFFilament / ❓┊help
15mo ago
Sorting polymorphic relationships in Tables
FilamentFFilament / ❓┊help
3y ago