vue-upload-component
vue-upload-component copied to clipboard
Doesn't handle errors before upload
Say I have the max file size as 10MB and I try and upload a file that's 100MB.
I do active = true and nothing occurs. No error/exceptions show up, and the file obj itself has no errors.
Shouldn't errors be assigned on a per-file basis for something like this? I see there is an error field, but it never seems to get set whenever there is an error before upload starts?
It also doesn't pass request errors back to the caller. If the request ends with an error, the library just returns a Promise.reject('abort') instead of the real error...
I'm having this same issue - where I have set the file size maximum, via the size prop, but the component is still allowing uploads greater than the limit. The extensions prop is also having no effect on limiting the types of files you can select. @douglasg14b did you figure this out?
I did not. I dropped this library and just wrote my own uploader component.