bootstrap-fileinput icon indicating copy to clipboard operation
bootstrap-fileinput copied to clipboard

When upload multiple files, always files with error are removed

Open alphp opened this issue 2 years ago • 0 comments

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

alphp avatar Jan 26 '24 12:01 alphp