Open Nowadays opened 3 years ago
I've come across a bug in chrome where if you upload the same file twice in a row, the change event is not emitted unless you clear element.value with null or ''.
change
element.value
null
''
I'd like to know what is the purpose of checking if the multiple attribute is present on the input before clearing the value ? (see: https://github.com/nervgh/angular-file-upload/blob/829986e74ed08e3e00ca6b88695bb5649a0bbc2e/src/services/FileSelect.js#L68)
multiple
Thank you.
I've come across a bug in chrome where if you upload the same file twice in a row, the
change
event is not emitted unless you clearelement.value
withnull
or''
.I'd like to know what is the purpose of checking if the
multiple
attribute is present on the input before clearing the value ? (see: https://github.com/nervgh/angular-file-upload/blob/829986e74ed08e3e00ca6b88695bb5649a0bbc2e/src/services/FileSelect.js#L68)Thank you.