From 200ae2ee009d5fb6006910017261cce7f4236c4e Mon Sep 17 00:00:00 2001 From: KumJungMin Date: Tue, 8 Oct 2024 21:07:45 +0900 Subject: [PATCH] fix: resolve $el undefined error --- packages/primevue/src/select/Select.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/primevue/src/select/Select.vue b/packages/primevue/src/select/Select.vue index b1e0bf0d6..f99debcf0 100755 --- a/packages/primevue/src/select/Select.vue +++ b/packages/primevue/src/select/Select.vue @@ -690,7 +690,7 @@ export default { this.scrollInView(); setTimeout(() => { - this.autoFilterFocus && focus(this.$refs.filterInput.$el); + this.autoFilterFocus && this.filter && focus(this.$refs.filterInput.$el); }, 1); }, onOverlayAfterEnter() {