Unplanned
Last Updated: 07 Oct 2024 05:44 by ADMIN
Created by: Rajesh
Comments: 1
Category: Upload
Type: Feature Request
1
I want to be able to enable and disable the action buttons in the upload from my code, based on a condition. 
Duplicated
Last Updated: 02 Jun 2023 09:18 by ADMIN
Created by: Emil
Comments: 3
Category: Upload
Type: Feature Request
0

Hello, 

We have migrated to Kendo React (from jQuery) and are unable to use Directory upload functionality which existed in jQuery version:

https://demos.telerik.com/kendo-ui/upload/directoryupload

Currently in order to achieve such functionality, the only way is to inject required file input attributes manually as shown below:

    useEffect(() => {
        if (uploadWrapperRef.current) {
            const targetInput = uploadWrapperRef.current.querySelector('input');

            isFolder
                ? targetInput.setAttribute('webkitdirectory', '')
                : targetInput.removeAttribute('webkitdirectory');
        }
    }, [uploadWrapperRef, isFolder]);

This partially solves the issue, however because the directory upload functionality is not provided natively, we are unable to use drag-and-drop functionality for folders. There is no way to overwrite 'onDrop' functionality, which currently accepts only files but not folders.

Would it be possible to add Directory upload to KendoReact as well?

Kind regards,

Emil

 

 

 

 

Unplanned
Last Updated: 26 Mar 2024 14:21 by ADMIN
Created by: James
Comments: 3
Category: Upload
Type: Feature Request
0

This feels like an obvious requirement, but maybe I'm missing something. We're using the Upload component allowing users to upload files to be later referenced and accessed. Would it be possible to add configuration options to display a download icon and hook up an onDownload handler, next to each uploaded file, like it currently does for the "remove" operation? I appreciate you can create a custom UI for the whole component, but then we lose the built-in functionality.    

Thank you.