FileUpload .xlsx
Hey everyone! 👋
I’m working on a Filament v3.2 app and I’m running into an issue when trying to upload files in a resource form. It works fine for .pdf and .png, but fails when I try to upload .xlsx files.
From what I’ve read, it seems like Filament supports .csv but not .xlsx. Has anyone dealt with this or found a workaround? Ideally, I’d love to be able to upload Excel files. Any tips or direction would be super appreciated. Thanks in advance! 🙏
3 Replies
Did you set the proper allowed file types? https://filamentphp.com/docs/3.x/forms/fields/file-upload#file-upload-validation
Yes, I tried that! Also I was reading the documentation and I tried mimeTypeMap but I got an error 'mimeTypeMap' doesn't exist despite my app is running in v3
what the error you're getting?
testing locally it uploaded normally!
