You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Upploader v2 introduced support for multiple files upload.
However, there is no example or docs on how to use this feature.
Docs say custom uploader needed to be written, but it's not clear from the custom uploader interface, how to handle multiple files upload. After looking into the source code, it becomes clear that there is a new interfaces/function needed to be implemented - uploadMultiple. I've tried to implement it, and somehow it doesn't work – latest Uppload v2 still tries to use upload uploader instead of uploadMultiple.
I tried to remove upload version (for single files) and upload multiple files – and that leads to the error message "no uploader".
Also, I'm a bit confused by interface of uploadMultiple – it returns a single String. Is it supposed to be a URL of the first or last image? Would be nice to return an array of urls, so they can be displayed as multiple previews. (Single URL also works for me, but that's confusing part too).
Would be awesome to see some example of using multiple upload. I think docs makes it pretty clear that multiple upload is going to be limited – that's ok. Just a bit more information/help on how to make an uploader for that feature.
Thanks for a great tool!
The text was updated successfully, but these errors were encountered:
Upploader v2 introduced support for multiple files upload.
However, there is no example or docs on how to use this feature.
Docs say custom uploader needed to be written, but it's not clear from the custom uploader interface, how to handle multiple files upload. After looking into the source code, it becomes clear that there is a new interfaces/function needed to be implemented -
uploadMultiple
. I've tried to implement it, and somehow it doesn't work – latest Uppload v2 still tries to useupload
uploader instead ofuploadMultiple
.I tried to remove
upload
version (for single files) and upload multiple files – and that leads to the error message "no uploader".Also, I'm a bit confused by interface of
uploadMultiple
– it returns a single String. Is it supposed to be a URL of the first or last image? Would be nice to return an array of urls, so they can be displayed as multiple previews. (Single URL also works for me, but that's confusing part too).Would be awesome to see some example of using multiple upload. I think docs makes it pretty clear that multiple upload is going to be limited – that's ok. Just a bit more information/help on how to make an uploader for that feature.
Thanks for a great tool!
The text was updated successfully, but these errors were encountered: