Clear file select auztomatically

This commit is contained in:
Kevin Fontaine
2016-12-09 15:26:18 +01:00
parent 34c0d35c9c
commit 500c1d76e2

View File

@@ -38,7 +38,7 @@ export class FileSelectDirective {
this.uploader.addToQueue(files, options, filters);
if (this.isEmptyAfterSelection()) {
// todo
// this.element.nativeElement.properties.value = '';
this.element.nativeElement.value = '';
/*this.element.nativeElement
.replaceWith(this.element = this.element.nativeElement.clone(true)); // IE fix*/
}