You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Because in multiple.remove, index = $li.index() counts the disabled <li> elements, which are not represented in the _this.value array. We need to look up the value to remove in _this.value or find the correct index with something like $multiple.find('li:not(.input-container):not(.disabled)').index($li).
The text was updated successfully, but these errors were encountered:
Because in
multiple.remove
,index = $li.index()
counts the disabled<li>
elements, which are not represented in the_this.value
array. We need to look up the value to remove in_this.value
or find the correct index with something like$multiple.find('li:not(.input-container):not(.disabled)').index($li)
.The text was updated successfully, but these errors were encountered: