List un-uploaded files

Started by wookoouk1 reply618 views
wookooukOriginal post
#1

I want to be able to check that before a user submits a form, any files they have added have been fully uploaded.

I want to be able to only enable the form submit button when all files added to Uppy Dashboard or FileInput has been successfully uploaded.

getFile/getFiles does not show this information

Thank you

wookoouk
#2

I figured it out.

const anyUnuploadedFiles = uppy.getFiles().filter(file=>{
return !file.progress.uploadComplete
}).length > 0