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

When upload multiple files, always files with error are removed #1853

Open
alphp opened this issue Jan 26, 2024 · 0 comments
Open

When upload multiple files, always files with error are removed #1853

alphp opened this issue Jan 26, 2024 · 0 comments

Comments

@alphp
Copy link
Contributor

alphp commented Jan 26, 2024

When uploading multiple files, files with errors are always removed even with removeFromPreviewOnError = false

DEMO:
https://fileinput.rf.gd/
https://github.com/alphp/bootstrap-fileinput-ajax-test

Steps to reproduce the issue

  1. Upload one JPG
  2. Repeat step 1:
    Throw error when try to upload files duplicates
    image
  3. Reload page
  4. Try to upload new jpg and the first (step 1):
    The new file uploads without error. The duplicate file throws an error and is removed from the list despite having removeFromPreviewOnError: false.
    image
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants