© 2026 Hedgehog Software, LLC

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

How to set meta alt+title with SpatieMediaLibraryFileUpload field?

I want to use Spatie "custom properties" and somehow enable editing these values for each uploaded photo in a gallery.

Option 1 - was thinking override the form field and extend
fileUploadFormComponent
fileUploadFormComponent
to add
canSetMeta
canSetMeta
and somehow open a modal/side panel with 2 text inputs for both image alt and image title. Problem is I'm not sure how to override the
components/file-upload.js
components/file-upload.js
file.

Option 2 - might be a way to use the
Repeater
Repeater
field to list all uploaded photos with fields for image alt + title in a 3 column grid. Converting the data around seems like it would be clunky though.

Option 3 - could use Ralph's media library pro which enables setting meta, but I like the way the FileUpload field works better.

Any other options or ideas? Thanks for any 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

How to show thumbnails on SpatieMediaLibraryFileUpload field?
FilamentFFilament / ❓┊help
3y ago
SpatieMediaLibraryFileUpload not showing preview when set to multiple
FilamentFFilament / ❓┊help
6mo ago
Multi field FieldComponent
FilamentFFilament / ❓┊help
2y ago
How to get File name SpatieMediaLibraryFileUpload
FilamentFFilament / ❓┊help
3y ago