fix(VnSelect): refs #8224 add hideSelected prop to VnSelect for improved focus handling
gitea/salix-front/pipeline/pr-dev This commit is unstable Details

This commit is contained in:
Alex Moreno 2025-04-25 11:12:16 +02:00
parent c900f17efa
commit 24f8d1c2e5
1 changed files with 1 additions and 2 deletions

View File

@ -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 }"