Answers for "same file select angular second time not selected"

0

same file select angular second time not selected

@ViewChild('fileInput') fileInput: any;
...
uploadFile() {
  this.uploader.uploadAll();
  this.fileInput.nativeElement.value = '';
}
Posted by: Guest on June-05-2020
0

same file select angular second time not selected

<input #fileInput id="file" type="file" ng2FileSelect [uploader]="uploader" (change)="uploadFile()"/>
Posted by: Guest on June-05-2020

Code answers related to "same file select angular second time not selected"

Code answers related to "Javascript"

Browse Popular Code Answers by Language