Skip to content

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

@alphp

Description

@alphp

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions