From 24f8d1c2e570473d71124ab5988aaac48f405f25 Mon Sep 17 00:00:00 2001 From: alexm Date: Fri, 25 Apr 2025 11:12:16 +0200 Subject: [PATCH] fix(VnSelect): refs #8224 add hideSelected prop to VnSelect for improved focus handling --- src/components/common/VnSelect.vue | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/components/common/VnSelect.vue b/src/components/common/VnSelect.vue index 630ad3aaf..2078728b9 100644 --- a/src/components/common/VnSelect.vue +++ b/src/components/common/VnSelect.vue @@ -379,12 +379,11 @@ function getOptionLabel(property) { :options="myOptions" :option-label="optionLabel" :option-value="optionValue" - v-bind="{ ...$attrs, ...styleAttrs }" + v-bind="{ ...$attrs, ...styleAttrs, hideSelected: hasFocus }" @filter="filterHandler" :emit-value="nullishToTrue($attrs['emit-value'])" :map-options="nullishToTrue($attrs['map-options'])" :use-input="hasFocus || !value" - :hide-selected="hasFocus" :fill-input="false" lazy-rules :class="{ required: isRequired }"