Unplanned
Last Updated: 16 Jan 2025 07:13 by ADMIN
Sam
Created on: 09 Jan 2025 15:04
Category: Kendo UI® for Vue
Type: Bug Report
0
[Bug][DropdownTree] DropdownTree throws an error when opens dropdown menu

Describe the bug
DropdownTree component throws an error when user opens dropdown menu when they selected an item already, if valueRender prop is configured.

To Reproduce
Steps to reproduce the behavior:

  1. Open this example - https://codesandbox.io/p/sandbox/3tmtkk?file=%2Fsrc%2Fmain.vue
  2. Select any item from DropdownTree. No errors would be thrown.
  3. Try to press on dropdown tree to open dropdown menu again.
  4. User will see this error instead of dropdown tree menu opening.
1 comment
ADMIN
Silviya
Posted on: 16 Jan 2025 07:13

Hello Sam,

Thank you for reaching out to us.

The provided example seems like the one from the Kendo UI for Vue official documentation: https://www.telerik.com/kendo-vue-ui/components/dropdowns/dropdowntree/custom-rendering/#toc-items-and-value-element. The demo works as expected there. However, I tested opening it in both CodeSandbox and Stackblitz and reproduced the issue there. I can confirm that is a bug and log it in our public issue tracker repository where we log and plan for fixing bugs:

https://github.com/telerik/kendo-vue/issues/659

Thank you for bringing this to our attention! As a token of gratitude, I have updated your Telerik Points.

As a workaround, I can suggest downgrading the @progress/kendo-vue-dropdowns package to v3.14.2, where it works as expected.

I hope that will help. We will do our best to provide a fix as soon as possible.

Regards,
Silviya
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.