react-mui-fileuploader
react-mui-fileuploader copied to clipboard
context.removeFile does not work, internal indices are different to context.files indices
Hi,
there seems to be a problem regards removing files with the context. The list of files in the onFilesChange
Handler and the context.files
is sorted in alphabetical order of the filenames. So when I remove the file with index 0, the file has in the original file list of the component index 1. I use getBase64={false}
. And there are no types for the context, it is typed as object
.