Closed RayhanYulanda closed 3 years ago
Duplicate to #1724. Read this comment.
Also please read docs and the usage modes of the plugin to understand why this is happening. Appending files to a selection or selectively deleting files is only supported via Ajax Mode and not via the Form Submission mode. Check the comparison of modes.
Prerequisites
master
branch of bootstrap-fileinput.Steps to reproduce the issue
I've download the newest package and I've import the js and css but i got problem that the package replace the files that i've input not extend the exist files. Another problem is I can't remove the single file, it just can remove the entire files
Expected behavior and actual behavior
When I follow those steps, I see files replaced I was expecting that the files not replaced and can remove a single file.
Here is it the code
<input id="files" name="files[]" class="file" type="file" data-theme="fas" accept="image/jpeg,image/jpg,image/png,application/pdf" required multiple>
And this is the js
Environment
Browsers
Operating System
Libraries
Isolating the problem