Skip to content

Commit 7c3b60c

Browse files
committed
fix(select): properly show selected values for is-multi select
1 parent 88f8922 commit 7c3b60c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Select.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ const filteredOptions = computed(() => {
121121
122122
const selectedOptions = computed(() => {
123123
if (props.isMulti) {
124-
return filterMultiValue(props.options);
124+
return props.options.filter((option) => (selected.value as string[]).includes(option.value));
125125
}
126126
127127
const found = props.options.find((option) => option.value === selected.value);

0 commit comments

Comments
 (0)