© 2026 Hedgehog Software, LLC

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

How to Attach or create a polymorphic relation model to another model in the relation manager?

Hey all,

How to Attach or create a polymorphic relation model to another model in the relation manager?

In the relation manager there is the CreateAction and AttachAction. My goal is to have just one button and let the user search for an item and if no results, it suggest to add it.

Did I miss out any references in documentation for this?

https://filamentphp.com/docs/3.x/forms/fields/select#creating-a-new-option-in-a-modal

this seems not to work for polymorphic many to many relations.

THX!
Select - Form Builder - Filament
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

polymorphic relation manager
FilamentFFilament / ❓┊help
3y ago
Attach relation manager
FilamentFFilament / ❓┊help
3y ago
Attach Relation Manager
FilamentFFilament / ❓┊help
3y ago
Relation manager attach one-to-many
FilamentFFilament / ❓┊help
3y ago