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

UploadInput.emit not working when trying to do an upload second time. Please help

Open ArpanChoudhuri opened this issue 6 years ago • 1 comments

When I try to do the following, it works for the first time. On trying to do the 2nd time , the event does not get emitted.

Upon checking dev tools in chrome, I can see that the observers of the UploadInput have cleared off. hence no one is listening to the event, thereby it doe not work

Any idea what could be going wrong here?

const event: UploadInput = { type: 'uploadAll', url: '(ur)', method: 'POST',
data: { data } };

    this.uploadInput.emit(event);

ArpanChoudhuri avatar Mar 20 '18 22:03 ArpanChoudhuri

Related to #423

maikdiepenbroek avatar Mar 28 '18 18:03 maikdiepenbroek