fix: multi select state handling (#1094)

This commit is contained in:
Jonas Plum
2024-08-05 15:22:01 +02:00
committed by GitHub
parent 21f1c3d328
commit 96b7a9604c
2 changed files with 4 additions and 13 deletions

View File

@@ -32,7 +32,8 @@ const selectedItems = ref<string[]>(props.modelValue)
watch(
() => selectedItems.value,
(value) => emit('update:modelValue', value)
(value) => emit('update:modelValue', value),
{ deep: true }
)
const filteredItems = computed(() => {