when i upload one file it's respond get twice. #1094

Open
opened 2019-06-03 06:02:37 +00:00 by ssuriyayuvan · 0 comments
ssuriyayuvan commented 2019-06-03 06:02:37 +00:00 (Migrated from github.com)

ng2-file-upload

upload.component.ts
validation(e) {
console.log(e);
}

upload.component.html

`<tr *ngFor="let item of uploader.queue">

<strong [ngClass]="validation(item)">{{
item?.file?.name
}}

`
![ng2-file-upload](https://user-images.githubusercontent.com/34896624/58779109-b37f7800-8589-11e9-8f3e-55afc5bc9d67.png) upload.component.ts validation(e) { console.log(e); } upload.component.html `<tr *ngFor="let item of uploader.queue"> <td> <strong [ngClass]="validation(item)">{{ item?.file?.name }}</strong> </td> </tr>`
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: dc/ng2-file-upload#1094