Clear file select auztomatically
This commit is contained in:
@@ -38,7 +38,7 @@ export class FileSelectDirective {
|
|||||||
this.uploader.addToQueue(files, options, filters);
|
this.uploader.addToQueue(files, options, filters);
|
||||||
if (this.isEmptyAfterSelection()) {
|
if (this.isEmptyAfterSelection()) {
|
||||||
// todo
|
// todo
|
||||||
// this.element.nativeElement.properties.value = '';
|
this.element.nativeElement.value = '';
|
||||||
/*this.element.nativeElement
|
/*this.element.nativeElement
|
||||||
.replaceWith(this.element = this.element.nativeElement.clone(true)); // IE fix*/
|
.replaceWith(this.element = this.element.nativeElement.clone(true)); // IE fix*/
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user