FilamentF
Filament3y ago
21 replies
rabol

acceptedFileTypes reject valid file types

I have this on a Fileupload:

->acceptedFileTypes(['application/json', 'json', 'application/msword', 'docx'])


I have tried this as well:

->acceptedFileTypes(['docx'])


but when I select a .docx file I get an error saying: 'File of invalid type'
Was this page helpful?