Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

context.removeFile does not work, internal indices are different to context.files indices #26

Open
frederic-welsch opened this issue Apr 13, 2023 · 0 comments

Comments

@frederic-welsch
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant