From bfa85361ba71cb8693632470f87893690aadd277 Mon Sep 17 00:00:00 2001 From: gbnm Date: Fri, 29 Mar 2024 21:35:33 +0000 Subject: [PATCH] Fix search feature unresponsive after setting an empty list Fixed an issue that caused the search feature to become unresponsive after setting an empty options list. --- src/virtual-select.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/virtual-select.js b/src/virtual-select.js index ea91a95..24a553c 100755 --- a/src/virtual-select.js +++ b/src/virtual-select.js @@ -2401,6 +2401,7 @@ export class VirtualSelect { DomUtils.setAttr($ele, 'disabled', ''); this.$noOptions.focus(); } else { + $ele.removeAttribute('disabled'); $ele.focus(); } } else {