fix: select multiple when remove
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 9s

This commit is contained in:
Methapon2001 2025-04-30 17:03:07 +07:00
parent 2b78abcd3b
commit bcd54813d1

View file

@ -72,7 +72,11 @@ onMounted(async () => {
:option="selectOptions"
:hide-selected="false"
:fill-input="false"
:rules="[(v: string) => !!v || $t('form.error.required')]"
:rules="[
(v: string) => {
return !!v?.length || $t('form.error.required');
},
]"
@filter="filter"
>
<template #before-options v-if="creatable">