KendoReact Upload with multiple=false allows drag-and-drop upload of multiple files

3 posts, 0 answers
  1. David
    David avatar
    31 posts
    Member since:
    Sep 2019

    Posted 03 Feb Link to this post

    Hi,

    The KendoReact Upload control has a 'multiple' prop. According to the documentation, "If set to false, only one file can be selected at a time". However, setting this prop to false only prevents selection of multiple files via the Select Files button. Multiple files can still be selected by dragging and dropping. This behaviour can be seen in the cited Kendo example:

    https://www.telerik.com/kendo-react-ui/components/upload/file-processing/#toc-upload-of-single-or-multiple-files

    Is this a bug or intended behaviour? If this is intended behaviour, is there a workaround to prevent upload of multiple files on drag and drop?

    Kind regards,

    David

  2. Stefan
    Admin
    Stefan avatar
    3039 posts

    Posted 03 Feb Link to this post

    Hello, David,

    This is a known issue and I added this report to it to raise its priority:

    https://github.com/telerik/kendo-react/issues/585

    Apologies for the inconvenience.

    Regards,
    Stefan
    Progress Telerik

    Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

  3. David
    David avatar
    31 posts
    Member since:
    Sep 2019

    Posted 04 Feb in reply to Stefan Link to this post

    Great, thanks Stefan.
Back to Top