FilamentF
Filament3y ago
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.
Was this page helpful?