- Home
- Forum
- Angular - EJ 2
- All files are deleted from uploader list
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.
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
SIGN IN To post a reply.
6 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
Sample Link: https://stackblitz.com/edit/angular-inakcv
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
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
Jahid
JA
jahid
April 23, 2019 10:34 AM UTC
Hello Support team,
Thanks for your support.
Have a nice day.
Jahid
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
Regards,
Prince
DG
Daniel Garcia
December 2, 2024 08:53 PM UTC
I had the same issue, putting the ejs-uploader element outside of form element worked for me too
KG
Kalpana Ganesan
Syncfusion Team
December 16, 2024 10:21 AM UTC
Hi Daniel,
Glad You made it worked. If you need further assistance or have any other questions, feel free to ask!
Regards,
Kalpana
SIGN IN To post a reply.
- 6 Replies
- 4 Participants
-
JA jahid
- Apr 20, 2019 09:55 PM UTC
- Dec 16, 2024 10:21 AM UTC