From a930d1573011cdbcc3e3aaf66917993d18fedfab Mon Sep 17 00:00:00 2001 From: Kendo Bot Date: Wed, 17 Oct 2018 04:58:58 +0300 Subject: [PATCH] Sync with Kendo UI Professional --- src/kendo.combobox.js | 6 +----- src/kendo.multiselect.js | 2 +- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/src/kendo.combobox.js b/src/kendo.combobox.js index 5a9d3ea5771..5ae5c2f0746 100644 --- a/src/kendo.combobox.js +++ b/src/kendo.combobox.js @@ -812,7 +812,7 @@ var __meta__ = { // jshint ignore:line shouldTrigger = that._value(dataItem) !== List.unifyType(that.value(), typeof that._value(dataItem)); if(!shouldTrigger){ - that.input.val(that._accessor()); + that.input.val(that._text(dataItem)); } } @@ -992,10 +992,6 @@ var __meta__ = { // jshint ignore:line if(dataItem){ shouldTrigger = that._value(dataItem) !== List.unifyType(that.value(), typeof that._value(dataItem)); - - if(!shouldTrigger){ - that.input.val(that._accessor()); - } } if (shouldTrigger && that.trigger("select", { dataItem: dataItem, item: current })) { diff --git a/src/kendo.multiselect.js b/src/kendo.multiselect.js index eaafb4a3f16..0e00cc2affd 100644 --- a/src/kendo.multiselect.js +++ b/src/kendo.multiselect.js @@ -734,6 +734,7 @@ var __meta__ = { // jshint ignore:line // trigger the DOM change event so any subscriber gets notified that.element.trigger(CHANGE); } + that.popup.position(); that._toggleCloseVisibility(); }, @@ -1356,7 +1357,6 @@ var __meta__ = { // jshint ignore:line return; } - that.popup.position(); that.persistTagList = false; return selectIndices(indices); },