File upload component not validating correctly
In the file upload it says 85KB
But the validation error says cannot be greater than 100KB
What is happening?
8 Replies
Can you share the code for your FileUpload field. This just doesn’t make any sense.
filament version (
composer.json
):
I wonder if there's some conflict with including the individual packages with
filament\filament
. You don't need to require the individual packages if you are using filament\filament
as it will handle the requirements by itself.
could be something in the filepond too mis-reading the filesize, but it doesn't make sense.i can share u the image too, maybe is the image or something else, is really weird
well, ill try to remove the individual packages, update filament and try it again
does it happen for all images, or just that one?
afaik just that one
So, wouldn’t that lend to a corruption in the file itself and not the code?
unsure bout that