Changing url when files are selected does not work #406

Closed
opened 2016-09-21 13:55:25 +00:00 by klinki · 1 comment
klinki commented 2016-09-21 13:55:25 +00:00 (Migrated from github.com)

When I call setOptions({url: "http://....."}) with some new URL different than one used from constructor, it does not apply to files already selected using upload directive.

When I call setOptions({url: "http://....."}) with some new URL different than one used from constructor, it does not apply to files already selected using upload directive.
edumer12 commented 2016-09-29 19:46:37 +00:00 (Migrated from github.com)

I had the same problem, the solution that i found is before updateAll, set foreach FileItem the url, like this:
this.uploader.queue[i].url = http://.......

I had the same problem, the solution that i found is before updateAll, set foreach FileItem the url, like this: this.uploader.queue[i].url = http://.......
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: dc/ng2-file-upload#406