This is a migrated thread and some comments may be shown as answers.

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

2 Answers 408 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
David
Top achievements
Rank 1
Iron
Iron
Veteran
David asked on 04 Feb 2021, 02:31 AM

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 Answers, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 04 Feb 2021, 05:54 AM

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/.

0
David
Top achievements
Rank 1
Iron
Iron
Veteran
answered on 04 Feb 2021, 06:09 AM
Great, thanks Stefan.
Tags
General Discussions
Asked by
David
Top achievements
Rank 1
Iron
Iron
Veteran
Answers by
Stefan
Telerik team
David
Top achievements
Rank 1
Iron
Iron
Veteran
Share this question
or