Multiple file selection bug #1025

Open
opened 2018-05-28 06:53:56 +00:00 by kunal047 · 1 comment
kunal047 commented 2018-05-28 06:53:56 +00:00 (Migrated from github.com)

When selecting multiple files the text is not updated with number of selected files or the name of it.

When selecting multiple files the text is not updated with number of selected files or the name of it.
roymckrank commented 2018-08-01 18:33:41 +00:00 (Migrated from github.com)

I have found a workaround with this, aside the input field I have used:

<p>Files uploaded: {{ uploader?.queue?.length }}</p> <p class="files-uploaded" *ngFor="let item of uploader.queue"> <strong> {{ item?.file?.name }} <button type="button" class="btn btn-danger btn-xs"(click)="item.remove()"> <span class="glyphicon glyphicon-trash"></span> Remove </button> </strong> </p>

In this way you can see the names of the files uploaded, and also you can delete them.

I have found a workaround with this, aside the input field I have used: `<p>Files uploaded: {{ uploader?.queue?.length }}</p> <p class="files-uploaded" *ngFor="let item of uploader.queue"> <strong> {{ item?.file?.name }} <button type="button" class="btn btn-danger btn-xs"(click)="item.remove()"> <span class="glyphicon glyphicon-trash"></span> Remove </button> </strong> </p>` In this way you can see the names of the files uploaded, and also you can delete them.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: dc/ng2-file-upload#1025