Skip to content

Commit

Permalink
feat(file-select): Clear file select automatically (#524)
Browse files Browse the repository at this point in the history
  • Loading branch information
kfontaine-smartwave authored and valorkin committed Jan 17, 2017
1 parent 397de09 commit 410efda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/file-upload/file-select.directive.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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*/
}
Expand Down

0 comments on commit 410efda

Please sign in to comment.