Hello,
Am having trouble using the .removeFiles() method of the Vue Upload component. I was wondering if anyone had an example of this in use or could point to some documentation describing how to use it? The Vue API documentation for the component doesn't seem to include this functionality. Is it even supported? I do see the removeFiles method when inspecting the component using web developer tools.
Thanks!
Hello, Matthew.
The Kendo UI for Vue Native Upload component doesn't have the removeFile method available in the Kendo UI for Vue Wrapper Upload(and the Kendo UI for jQuery Upload).
The Native Upload component provides other methods that can be used based on your scenario.
I don't know what the requirement you need to implement is but here is an example that demonstrates how we can remove the first file among these selected for upload. Using the demonstrated approach, you can implement a logic that filters the files in the upload list based on the requirements of your application.
I hope the suggested implementation will help you achieve the targeted functionality. If not, you can share more details about what you need.