Prerequisites
Steps to reproduce the issue
- Add any number of pictures inside the input
- Delete any one of them
- Call $('#input-id-here')[0].files and see the empty FileList
Expected behavior and actual behavior
When I follow those steps, I see the empty FileList, all the items left are still visible inside the preview panel.
I was expecting to be able to continue to crop (I am using Jcrop) and manipulate the items, but because the FileList of the input is emptied, I cannot do that anymore.
On a side note, calling $('#input-id-here').fileinput('getFileStack') returns the list with the items left in the preview.
Environment
Browsers
Operating System
Libraries
- jQuery version: v3.2.1
- bootstrap-fileinput version: v4.4.7
Isolating the problem
Prerequisites
masterbranch of bootstrap-fileinput.Steps to reproduce the issue
Expected behavior and actual behavior
When I follow those steps, I see the empty FileList, all the items left are still visible inside the preview panel.
I was expecting to be able to continue to crop (I am using Jcrop) and manipulate the items, but because the FileList of the input is emptied, I cannot do that anymore.
On a side note, calling $('#input-id-here').fileinput('getFileStack') returns the list with the items left in the preview.
Environment
Browsers
Operating System
Libraries
Isolating the problem