© 2026 Hedgehog Software, LLC

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

FileUpload using polymorphic relationship

Hi

I try to use a polymorphic relationship for files, but I can't really figure out, how to save a file to a specific relationship.

FileUpload doesn't provide a relationship method as far as I see.

So is it only possible to save a file name to a text field as either the name or an array?

Thanks for your help.
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

One to many polymorphic relationship
FilamentFFilament / ❓┊help
2y ago
FileUpload Image with morphOne relationship
FilamentFFilament / ❓┊help
3y ago
Searching in a table on a column using a polymorphic relationship
FilamentFFilament / ❓┊help
3y ago
Sorting polymorphic relationships in Tables
FilamentFFilament / ❓┊help
3y ago