© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
F
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
Join
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Recent Announcements
Similar Threads
Builder query for polymorphic relations
F
Filament / ❓┊help
3y ago
Managing Relationships in the Form Builder
F
Filament / ❓┊help
3y ago
Set default MorphTo relationships in Form Builder
F
Filament / ❓┊help
15mo ago
Sorting polymorphic relationships in Tables
F
Filament / ❓┊help
3y ago