Approved
Last Updated: 19 Nov 2019 15:00 by ADMIN
n/a
Created on: 16 Nov 2019 20:10
Category: DropDownList
Type: Bug Report
0
DropDownList Virtualization fire change event again when reopen and close after selected value loading from filter

Hi 

I'm using  lastest version 

demo: https://dojo.telerik.com/eZOPEVeL

In offical demo i found a problem, i don't know that is a issue or any thing.

When i use DropDownList Virtualization, i filter "LILA-Supermercado" then selected a value 10780, then fire change event (that true)

Then, I open and close dropdownlist, does not choose any thing, just open and close, dropdownlist fire change event again (that not true)

this happen with any value which not loading before scroll.

some one help me

1 comment
ADMIN
Martin
Posted on: 19 Nov 2019 15:00

Hello Nguyen,

Thank you for reporting the behavior. The reason for it is because when you change the widget's value and the dropdown is closed, the filter input field is being cleared. Then, upon re-opening the dropdown, the page will not be the same as the one on which the selected item is, so a read request will be made to the server to retrieve the correct page and items. Then, upon closing, the widget considers that the change event should be triggered.

That is not expected as behavior in this scenario, so I am converting this thread to a bug report. You can find it in our Feedback Portal on this link

Note that the behavior will not occur if you remove the valueMapper, as we support virtualization without it. You can refer to this thread for further information. So you can remove it if you do not wish the change event to be triggered twice.

I am updating your Telerik Points as a small token of gratitude.

Feel free to contact us whenever you have other questions.

Regards,
Martin
Progress Telerik

Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.