Unplanned
Last Updated: 17 Jun 2020 10:48 by Joel
Joel
Created on: 17 Jun 2020 10:48
Category: MultiSelect
Type: Bug Report
1
Calling value([]) in the deselect event of the MultiSelect doesn't remove all its items

Bug report

When an empty array is passed to the MultiSelect's value method inside the deselect event, the item that is deselected remains selected in the MultiSelect.

Reproduction of the problem

  1. Open this Dojo and run it
  2. Expand MultiSelect's popup list and click on "All" item.

Current behavior

The different MultiSelect items are deselected except for the "All" item.

*If the "if" statement is removed from the deselect event function in the Dojo, and only the 'e.sender.value([]);' is kept, the issue is reproducing no matter of the selected item in MultiSelect's popup.

Expected/desired behavior

Calling 'e.sender.value([]);' should remove all items selected in the MultiSelect.
Click on the "Clear values" button to see the expected behavior.

Environment

  • Kendo UI version: 201x.r.ddd
  • jQuery version: x.y
  • Browser: [all]
0 comments