Unplanned
Last Updated: 12 Jul 2023 11:09 by Jose Manuel
Jose Manuel
Created on: 12 Jul 2023 11:09
Category: MultiSelect
Type: Bug Report
0
Items can not be removed in virtual MultiSelect with mapValueTo dataItem

Bug report

In MultiSelect when the value is set initially and the mapValueTo option is set to 'dataItem', if the user first open and close the popup, the last item can not be removed and an error 'c.select(...).done is not a function' is thrown.

Reproduction of the problem

  1. Open the Dojo example. - https://dojo.telerik.com/@NeliKondova/UCesAQen
  2. Open the popup and scroll to the "Hungry Owl All-Night Grocers" item
  3. Close the popup
  4. Try to remove the "Hungry Owl All-Night Grocers" from the input

As the Dojo above does not use a remote valueMapper below is a sample project where a remote valueMapper method is implemented
WebApplication3.zip

Current behavior

The last item can not be removed and an error 'c.select(...).done is not a function' is thrown in the browser`s console.
The other items except the last one can be removed as expected. Also, all items can be removed initially in case the popup has not been opened and scrolled to the last item from the value.

Expected/desired behavior

It should be possible to remove all items displayed in the MultiSelect input, even in a scenario where the popup has been opened and closed.

Environment

  • Kendo UI version: 2023.2.606
  • Browser: [all ]
0 comments