darrenm
FileUpload field validation passes on upload but fails on submit
Hello Filament people!
Working on my first project and have a curious problem with a
FileUpload
field.
I'm allowing upload of a favicon and am validating using
This works just fine for the upload task - so I believe the mime type is correct. When the form is submitted, it fails with a validation.mimetypes
error. Using a ->image()
validation works fine. Not sure what's going on here - I'd prefer to restrict to just .ico files.
filament forms v3.2.100, Ubuntu 2204/ PHP8.3 host16 replies