diff --git a/src/virtual-select.js b/src/virtual-select.js index 54341a2..40ca2b2 100755 --- a/src/virtual-select.js +++ b/src/virtual-select.js @@ -1372,6 +1372,12 @@ export class VirtualSelect { this.hasOptionGroup = hasOptionGroup; this.hasEmptyValueOption = hasEmptyValueOption; this.setSortedOptions(); + + if (optionsLength) { + const $eleSearchInput = this.$searchInput; + $eleSearchInput.removeAttribute('disabled'); + } + } setServerOptions(options = []) {