ngx-uploader icon indicating copy to clipboard operation
ngx-uploader copied to clipboard

Upload same file multiple times ignores subsequent upload

Open zombaki opened this issue 3 years ago • 3 comments

When i am trying to upload same file multiple times, ngx-uploader seems to ignore upload the 2nd time. scenario :-

  • https://ngx-uploader.com/ - upload file test.jpg - upload successful
  • upload file test.jpg (same file) - no change in browser(file is not uploaded)
  • upload file test_different.jpg (different file) - upload successful
  • upload file test.jpg - upload successful

Not able to figure out how to fix this issue.

zombaki avatar May 25 '21 21:05 zombaki

duplicate #423

stephanebouget avatar Mar 22 '22 15:03 stephanebouget

@stephanebouget this issue was when we try to upload same file multiple times ..or rather files with same file name

zombaki avatar Mar 23 '22 01:03 zombaki

@stephanebouget this issue was when we try to upload same file multiple times ..or rather files with same file name

yes it's the same issue, just add : #fileInput (click)="fileInput.value = ''" on your : <input/>

https://github.com/bleenco/ngx-uploader/issues/423#issuecomment-367224926

stephanebouget avatar Mar 23 '22 08:03 stephanebouget