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. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

All files are deleted from uploader list

Thread ID:

Created:

Updated:

Platform:

Replies:

144130 Apr 20,2019 09:55 PM UTC Apr 23,2019 11:51 AM UTC Angular - EJ 2 4
loading
Tags: Uploader
jahid
Asked On April 20, 2019 09:55 PM UTC


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

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

Ts:
@ViewChild('defaultupload')
public uploadObj: UploaderComponent;

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

}

Please see mp4 file in zip. Thanks


Attachment: 20190420_234125_3c67afb2.zip

Prince Oliver [Syncfusion]
Replied On 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 

Regards, 
Prince 


jahid
Replied On 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
Jahid

jahid
Replied On 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.
Jahid

Prince Oliver [Syncfusion]
Replied On 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  

Regards, 
Prince 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon