diff --git a/src/js/picker.js b/src/js/picker.js index 43ff235468505d55189b9ca22355131b98fac433..044e2f144ef881c5eecaa70ccae6de3de6f792d5 100644 --- a/src/js/picker.js +++ b/src/js/picker.js @@ -266,6 +266,12 @@ } $container.toggleClass('picker-input-empty', !searchValue.length); that.tryUpdateList(searchValue); + if (options.disableEmptySearch && !that.dropListShowed && searchValue ) { + that.showDropList() + } + if (options.disableEmptySearch && !searchValue) { + that.hideDropList() + } }); if (options.hotkey) {