ejs-uploader multiple file handling

Hello im using ejs-uploader and I faced with problem when i upload multiple files to server i need handle response ("in response i receive id of file) for this reason i used event (success) but problem that in this event i can see response only for first file. another files not present in event. Maybe there is another way to handle responses from server or i did something wrong? Thank you in advance.

HTML:

<div #dropEle class="drop-area">
<ejs-uploader #defaultupload [htmlAttributes]="{name:'file'}" (failure)="handleResponse($event)" (success)="handleResponse($event)" (uploading)="setRequestOptions($event)" [multiple]="true" [asyncSettings]='savePath' [autoUpload]='false'
[dropArea]='dropEle'></ejs-uploader>
</div>
TS:
handleResponse(event){
console.log(event);
}
event:

1 Reply

UD UdhayaKumar Duraisamy Syncfusion Team April 15, 2022 10:57 AM UTC

Hi Dmitry,


We have validated the reported issue on our end and the success event triggered when each file gets uploaded successfully. Also, we have attached a Video demo and sample for reference. Let us know if we have missed any issue replication steps. You can refer to the below documentation link for more details about the Uploader component.


Sample Link : https://stackblitz.com/edit/angular-lh8nqb?file=app.component.html


Documentation Link : https://ej2.syncfusion.com/angular/documentation/uploader/getting-started/#handle-success-and-failed-upload


Regards,

Udhaya Kumar D


Attachment: Uploader_23927a9c.zip

Loader.
Up arrow icon