Issue
If a single tag MultiSelect is blurred on filtering and then refocused, then the clear button is pressed with the dropdown open, the single tag remains even though there are no selected items.
Reproduction
1. Run this dojo.
2. Click on MultiSelect input and type L
3. Click outside the MultiSelect to blur it - filter is removed.
4. Click on MultiSelect input (dropdown opens) and press the clear button.
Current behavior
MultiSelect value is cleared. But the single tag remains visible and states that there are selected items even though there are none.
Expected/desired behavior
The single tag should be removed as shown in this Kendo UI Dojo using R3 2018.
Workaround
Handle MultiSelect's change event as follows:
function onChange(e) {
if(!e.sender.value().length){
e.sender.element.closest(".k-multiselect").find(".k-button").remove();
}
}