Same functionality as jQuery upload at https://demos.telerik.com/kendo-ui/upload/directoryupload
Add a per-file concurrency option so the Upload component can send multiple chunks of one file simultaneously. The currently available concurrent property only controls whether files upload simultaneously, but does not give the ability to control the concurrency of the chunks in an individual file.
Provide an async mechanism to confirm action before removing files (eg. using Observables).
Would be great if the various pieces of the Upload were more modular so devs didn't have to dig through and copy a bunch of source code into their project just to add a couple of buttons to the control (like validation messages, file text, icons, progressbar, etc). Feels like the control is kind of half-baked.
I think the most common scenario is that developers just want to tweak the template slightly. It seems like kendoUploadFileInfoTemplate attempted to provide this, but doesn't feel like a complete solution.
That is why I want to request a similar template which preserves all the Upload features but allowing slight modifications, or separate components that represent the uploaded file pieces. Currently, I had to dig into the source code to figure out how to reproduce the status messages and size display. If there were components for these elements that would not be necessary.
With autoUpload set to false, calling preventDefault() in the upload event handler removes the selected files from the files list after clicking the "Upload" button, which is the intended behavior, as documented in the API page for the upload event.
However, this behavior may be considered unexpected by users, and then they would have to select the files again. The request is to keep the files in the list, unchanged, when the upload is cancelled, so the user can have the option upload them later.
This could be done in one of the following ways:
We have a scenario where we are using the Upload component and need to enforce a total upload size across all files selected for upload (e.g. 25 MB total).
Other than the necessary server-side checks for this, it is very beneficial for users to be informed of this on the front-end, so they do not get surprised by error messages after they try uploading.
There are a few ways that this could be achieved.
1) (Preferred) Add an option to the upload component for the total file size in bytes allowed (default is null/undefined). Show an error/message in the component if this is exceeded. Benefits of this approach:
2) Implement the requested feature to allows us to keep cancelled files in the queue (Ticket #1720671). If this is implemented, then we can check the overall files being uploaded at upload time and cancel the event + display an error manually. Benefits:
Drawbacks:
3) Add the ability to enable/disable the upload button directly in the component. Just setting the "disabled" status to true for the Upload doesn't work as it disables everything and makes it impossible for the user to removing the offending file(s). We can listen to select/remove/clear events, check the overall files being uploaded, display errors and then enable/disable the upload button. Quite a few drawbacks:
At the moment in our environment, we have to do a version of option 3) with workarounds to enable/disable the upload button as there isn't a method to do so directly.