File can't be reselected after removing from the queue (Chrome, IE)
Hello,
There seems to be an issue with reselecting same files in Chrome and IE browsers.
Steps to reproduce:
- Go to http://nervgh.github.io/pages/angular-file-upload/examples/simple/
- Select file with Single select.
- Remove it from the queue using remove button
- Try to select the same file once again.
Result: File is not added to the queue. Expected result: File is added to the queue. Browsers: Chrome Version 38, IE 11
If to add another file and then try initial file one more time it works, but this is not correct user experience.
Issue is not reproducible in Firefox.
Sorry if this is a duplicate.
Thanks, Stanislav
yes, you're right, it dosn't add them, but i think thats you must to clean queue in onCompleteItem callback, because in this example it dont exist, i'm not sur !!
use this http://nervgh.github.io/pages/angular-file-upload/examples/image-preview/
@darkmanAmazigh thanks for the answer, but example you mentioned uses multiple files uploader. It works on the first example as well. I think it is possible to use multiple file uploader and limit queue to 1 item but this is a workaround.
Single file uploader has different behavior across different browsers so the question is still open.
I am having this issues as well. Thank you for the suggested workaround of using multiple uploader with queue limit to one @sbagriantsev
I created a pull request for this, https://github.com/nervgh/angular-file-upload/pull/357
use fileuploader.clearQueue();
https://github.com/nervgh/angular-file-upload/wiki/FAQ#4-no-file-chosen-or-re-add-same-file