List un-uploaded files

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

I figured it out.

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