© 2026 Hedgehog Software, LLC

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

Fileupload don't show media on Chrome

Hello, thank you for your amazing work, it help me a lot.

I ran in issue on the view form with fileupload, when I go to the View page the filepond component is empty.
If I disabled cache in developper console or I change tab and come back is ok. It's work well on Safari.
(Other fact, in local developement, on view page after create the filepond component is empty. See gif ..)
Maybe it's related to https://github.com/filamentphp/filament/issues/5891

Files are stored on DigitalOcean.


  SpatieMediaLibraryFileUpload::make('quotes')->visibility('private')->multiple()->collection('quotes')->enableDownload()
                            ->getUploadedFileNameForStorageUsing(function (TemporaryUploadedFile $file, $get) : string {
                                return (string) str('project_quote_'.$get('name').'-'.Str::limit($file->getClientOriginalName(), 5, '').'.'.$file->guessExtension());
                            })
                                ->acceptedFileTypes(['application/pdf', 'image/jpeg', 'image/jpeg', 'image/png'])
                                ->minSize(1)
                                ->maxSize(10000)
  SpatieMediaLibraryFileUpload::make('quotes')->visibility('private')->multiple()->collection('quotes')->enableDownload()
                            ->getUploadedFileNameForStorageUsing(function (TemporaryUploadedFile $file, $get) : string {
                                return (string) str('project_quote_'.$get('name').'-'.Str::limit($file->getClientOriginalName(), 5, '').'.'.$file->guessExtension());
                            })
                                ->acceptedFileTypes(['application/pdf', 'image/jpeg', 'image/jpeg', 'image/png'])
                                ->minSize(1)
                                ->maxSize(10000)
Screen_Shot_2023-05-02_at_12.38.21_PM.png
b2f331846d364e9020796edbc789a5c8.gif
GitHub
File upload components cors error · Issue #5891 · filamentphp/filam...
Package filament/filament Package Version v2.17.14 Laravel Version v10.3.2 Livewire Version v2 PHP Version PHP 8.2 Problem description First of all it is not really a server configuration problem b...
File upload components cors error · Issue #5891 · filamentphp/filam...
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources
Was this page helpful?

Similar Threads

Recent Announcements

Similar Threads

Don't show workers count
FilamentFFilament / ❓┊help
2y ago
Action : Modal don't show
FilamentFFilament / ❓┊help
3y ago
FileUpload component doesn't show uploaded image
FilamentFFilament / ❓┊help
3y ago
Don't show View button on table row
FilamentFFilament / ❓┊help
5mo ago