diff --git a/src/definitions/modules/dropdown.js b/src/definitions/modules/dropdown.js index 5c0576f7a4..81a58a46ce 100644 --- a/src/definitions/modules/dropdown.js +++ b/src/definitions/modules/dropdown.js @@ -1413,7 +1413,9 @@ module.remove.userAddition(); } if (!settings.keepSearchTerm) { - module.remove.filteredItem(); + if (module.is.multiple()) { + module.remove.filteredItem(); + } module.remove.searchTerm(); } if (!module.is.visible() && $target.length > 0) { @@ -2587,7 +2589,7 @@ } else { $combo.text(text); } - } else if (settings.action === 'activate') { + } else if (settings.action === 'activate' || isFunction(settings.action)) { if (text !== module.get.placeholderText() || isNotPlaceholder) { $text.removeClass(className.placeholder); }