multiple file selection not reflected on label #838

Open
opened 2017-06-29 09:05:17 +00:00 by erodriguezh · 3 comments
erodriguezh commented 2017-06-29 09:05:17 +00:00 (Migrated from github.com)

On the input file multiple the label does not reflect the number of files chosen, it just remains as "No file chosen".

I found this issue in the version 1.2.1, however you can reproduce this issue in the current example: http://valor-software.com/ng2-file-upload/

Actions Performed:

  1. Go to the multiple file input
  2. Select a bunch of files

Expected Result:
The label should change from "No file chosen" to "X files". X being the number of files chosen

Actual Result:
The label remains as "No file chosen"

Additional Info:
On the single file input, when a file is chosen, the label shows the name of that file.

On the input file multiple the label does not reflect the number of files chosen, it just remains as "No file chosen". I found this issue in the version 1.2.1, however you can reproduce this issue in the current example: http://valor-software.com/ng2-file-upload/ **Actions Performed:** 1. Go to the multiple file input 2. Select a bunch of files **Expected Result:** The label should change from "No file chosen" to "X files". X being the number of files chosen **Actual Result:** The label remains as "No file chosen" **Additional Info:** On the single file input, when a file is chosen, the label shows the name of that file.
DanniB commented 2017-07-04 14:49:30 +00:00 (Migrated from github.com)

I can confirm the issue. A fix would be superb.

I can confirm the issue. A fix would be superb.
zszep commented 2017-09-11 12:33:19 +00:00 (Migrated from github.com)

Confirming this, too.

Confirming this, too.
Pumych commented 2017-10-06 07:44:49 +00:00 (Migrated from github.com)

Somehow [uploader]="uploader" prevents the default functionality, looks like issue is in FileSelectDirective.prototype.onChange function (ng2-file-upload\file-upload\file-select.directive.js) but I didn't found the solution.

Somehow `[uploader]="uploader"` prevents the default functionality, looks like issue is in FileSelectDirective.prototype.onChange function (ng2-file-upload\file-upload\file-select.directive.js) but I didn't found the solution.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: dc/ng2-file-upload#838