feat(file-select): Clear file select automatically (#524)

This commit was merged in pull request #524.
This commit is contained in:
Kevin FONTAINE
2017-01-17 14:02:52 +01:00
committed by Dmitriy Shekhovtsov
parent 397de09e7d
commit 410efda505

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*/
}