telerik / kendo-ui-core

An HTML5, jQuery-based widget library for building modern web apps.
http://www.telerik.com/kendo-ui
Other
2.53k stars 1.91k forks source link

[MultiSelect] - Last tag not getting removed if previous tag is removed first #4125

Open jignesh-dalal opened 6 years ago

jignesh-dalal commented 6 years ago

Bug report

Last tag not getting removed if previous tag is removed first

Demo: https://dojo.telerik.com/isILUmEz/2

Repro Steps: 1) Click on the "Click" button after running the demo. "ITEM 1" and "ITEM 2" should get populated. 2) Remove "ITEM 1" first by clicking the tag "x" icon and then try to remove "ITEM 2". Observe that "ITEM 2" doesn't get removed. 3) Try to clear all values by clicking input's "clear (x)" icon. Observe that "ITEM 2" doesn't get removed.

Please note MVVM approach is a requirement in my case.

Environment

IvanDanchev commented 6 years ago

Since the reported behavior is reproducible with autoBind option set to false, it is likely related to: #2893