Unplanned
Last Updated: 05 Jan 2021 17:56 by John
John
Created on: 22 Dec 2020 20:59
Category: DropDownList
Type: Bug Report
0
Change event is triggered twice (the first one with a wrong value) when Clear button is clicked to clear the selection

I have upgraded a huge project we have, from Kendo UI 2017 to the latest version.
I managed to fix all the incompatibility issues that I had with the latest version and now it's ready to go live.

In the final regression tests our customer found a bug and now we are stack and cannot deploy the project.

Here is the problem:

In the DropdownList, if you type something and then press the clear button, the change event is firing two times. One with the value that you typed before and then one again with an empty value (the right one). The biggest problem is that there is no way to determine that the first event is coming from the clear button and not from the user, so I cannot find any workaround this.

I searched and I found that this started after this change.

You can check this dojo for a reproduction of the problem.
Steps:
Type "it" in the dropdownlist,
Wait for the items to popup
Don't select any item but press the clear button of the dropdownlist
You can see the attached image the wrong events.
If you select a version after 2019 R3, the change event is firing twice. If you select an older version the change event is not firing at all.

I can understand a change event with an empty value and I don't have any problem with that, but the first event is totally wrong.
Is there any quick solution to this so we can catch the deadline and deploy the new version of our project?

Thank you for your time,
John Dendrinos




Attached Files:
5 comments
John
Posted on: 05 Jan 2021 17:56
Thank you very much for the priority.
I have already tried the internal build and it's working as expected.
Waiting for the official release to deploy it.

Best wishes for the new year!
ADMIN
Misho
Posted on: 30 Dec 2020 08:26

Hello,

We've reviewed and fixed this issue with high priority. The fix is in our nightly build and will be available in the next Official release scheduled for the middle of January. You could test it and confirm it with the next internal build which will be released later today.

Best Regards,
Misho
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/.

John
Posted on: 23 Dec 2020 11:57
Thank you for the quick response and for the priority.
Can you give me a rough estimation because we cannot go live until this issue is solved?

Or is there any workaround that I can use until you fix it? I need to know that the first event is coming from the clear button and not from the user so I can safely ignore it.

We have to reschedule the go-live date and I'm afraid we are going to miss our deadline for this.

Thank you again
ADMIN
Misho
Posted on: 23 Dec 2020 11:23

Hi,

Thank you for bringing this issue to our attention. I can confirm that this is a valid bug that has been introduced after R3 2019 so I've logged it in our Github backlog with highest priority:

https://github.com/telerik/kendo-ui-core/issues/6203 

This sets it on the top of our backlog priority and our developers will address it as soon as possible.

As a small token of gratitude for your report I'm updating your telerik points.

Thank you for your collaboration.

 

Please don't hesitate to contact us again if a specific issue pops up or in case you have other feedback or questions related to Kendo UI for jQuery and Angular components.

Best Regards,
Misho
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/.

John
Posted on: 22 Dec 2020 21:07
Sorry but the dojo is with a combobox because in combobox I have the problem.

I opened the ticket for wrong control (but I think the same happens with the Dropdownlist).