We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ddb9767 + 13da2c0 commit 91da67dCopy full SHA for 91da67d
src/services/FileSelect.js
@@ -65,7 +65,10 @@ export default (FileDirective) => {
65
66
if(!this.uploader.isHTML5) this.destroy();
67
this.uploader.addToQueue(files, options, filters);
68
- if(this.isEmptyAfterSelection()) this.element.prop('value', null);
+ if(this.isEmptyAfterSelection()) {
69
+ this.element.prop('value', null);
70
+ this.element.replaceWith(this.element = this.element.clone(true)); // IE fix
71
+ }
72
}
73
74
@@ -76,4 +79,4 @@ export default (FileDirective) => {
76
79
77
80
module.exports.$inject = [
78
81
'FileDirective'
-];
82
+];
0 commit comments