ngx-uploader
ngx-uploader copied to clipboard
UploadInput.emit not working when trying to do an upload second time. Please help
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);
Related to #423