-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Labels
BugC: MultiSelectFP: CompletedSync status with associated Feedback ItemSync status with associated Feedback ItemSEV: MediumjQuery
Milestone
Description
Bug report
If some text is written to filter items and then the clear button is clicked, the text is deleted, but the filtered results remain visible.
Reproduction of the problem
- Go to https://demos.telerik.com/kendo-ui/multiselect/events
- Type asdf in the MultiSelect - No data found is displayed in the dropdown.
- Click on Clear button - filter text is deleted.
Current behavior
No data found is displayed, although there is no text in the input.
Expected/desired behavior
All items are visible, as there is no filter applied in the input.
NOTE: If the filter text is cleared by backspace or delete button, all items are visible as expected.
NOTE: Currently clicking on MultiSelect's input clears the filter.
Workaround
Handle the click of the clear button and call MultiSelect's search method with empty string - Dojo snippet :
$(".k-multiselect .k-clear-value").click(function() {
var multiselect = $("#products").data("kendoMultiSelect");
multiselect.search("");
})
Thus, the popup shows all items as expected.
Environment
- Kendo UI version: 2023.3.1114
- Browser: [all]
Metadata
Metadata
Assignees
Labels
BugC: MultiSelectFP: CompletedSync status with associated Feedback ItemSync status with associated Feedback ItemSEV: MediumjQuery