Skip to content

Commit 410efda

Browse files
kfontaine-smartwavevalorkin
authored andcommitted
feat(file-select): Clear file select automatically (#524)
1 parent 397de09 commit 410efda

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/file-upload/file-select.directive.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export class FileSelectDirective {
3838
this.uploader.addToQueue(files, options, filters);
3939
if (this.isEmptyAfterSelection()) {
4040
// todo
41-
// this.element.nativeElement.properties.value = '';
41+
this.element.nativeElement.value = '';
4242
/*this.element.nativeElement
4343
.replaceWith(this.element = this.element.nativeElement.clone(true)); // IE fix*/
4444
}

0 commit comments

Comments
 (0)