We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

All files are deleted from uploader list

Unexpected: All files are deleted after clicking the remove button. Expected: Only one file is deleted after clicking the remove button.

<ejs-uploader #defaultupload [autoUpload]='false' multiple = 'false' [dropArea]='dropEle' locale="de-DE" (selected)="onSelected($event)"
(removing)="onRemove($event)" (clearing)="onClear($event)"> </ejs-uploader>

public uploadObj: UploaderComponent;

ngOnInit() {
this.dropEle = document.getElementById('droparea');


Please see mp4 file in zip. Thanks

Attachment: 20190420_234125_3c67afb2.zip

4 Replies

PO Prince Oliver Syncfusion Team April 22, 2019 11:27 AM UTC

Hello Jahid, 

Greetings from Syncfusion support. 

We tried to reproduce the reported issue, unfortunately it is not replicated in our end. Based on the provided details, we suspect that the issue might have occurred when the clearAll method is called in the removing event. Please ensure this case in your end. Also, we have attached test example that demonstrates our test scenario, please find it in the following location 

Please check the above sample. If the issue persists, please share us the following details 

  • Share us the full code of the bound event handler for selected, removing and clearing events
  • Share us the version that you are using along with browser details
  • If possible, please replicate the issue in the above test sample and revert it to us

The above information will help us isolate the root cause and provide a prompt solution 


JA jahid April 22, 2019 01:33 PM UTC

Hello Thank you so much.

Here you will find a simple Github Project. You can easily reproduce the issue. please see in README.md (Reproduce syncfusion-angular-uploader-bug).

Again thanks a lot for your support.

Have a nice day

JA jahid April 23, 2019 10:34 AM UTC

Hello Support team,

The Problem is solved. The thing is I have to put ejs-uploader element outside of form element. Otherwise, it doesn't work.

Thanks for your support.

Have a nice day.

PO Prince Oliver Syncfusion Team April 23, 2019 11:51 AM UTC

Hello Jahid, 

Most Welcome. We are glad that the problem is resolved in your end. Also, we suggest you upgrade to our latest version, since we have fixed the reported issue with uploader within form in the 2019 Volume 1 beta release (v17.1.32). Kindly refer to the following release notes section: https://ej2.syncfusion.com/documentation/release-notes/17.1.32/#uploader  


Live Chat Icon For mobile
Up arrow icon