© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago
Daniel Plomp

FileUpload inside Builder with SpatieMediaLibrary and AWS S3

I have some issues with the uploading files in combination with the Form Builder.

When I use the SpatieMediaLibrary component in my Form, it uploads the image to AWS S3. Only the filename is not being stored inside my Builders Json:

array:3 [▼ // app/Http/Controllers/ClientController.php:34
  0 => array:2 [▶]
  1 => array:2 [▶]
  2 => array:2 [▼
    "data" => []
    "type" => "image"
  ]
]
array:3 [▼ // app/Http/Controllers/ClientController.php:34
  0 => array:2 [▶]
  1 => array:2 [▶]
  2 => array:2 [▼
    "data" => []
    "type" => "image"
  ]
]


If I use the normal FileUpload component, the
data
data
array is filled with the filename. Not sure if I'm missing something?
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

Fileupload to AWS S3
FilamentFFilament / ❓┊help
2y ago
AWS S3: 504 error with FileUpload
FilamentFFilament / ❓┊help
13mo ago
FileUpload to AWS S3 ACL error
FilamentFFilament / ❓┊help
3y ago
FileUpload to S3 and bref
FilamentFFilament / ❓┊help
2y ago