diff --git a/frontend/components/Form/Select.vue b/frontend/components/Form/Select.vue index 27e3683..4bd07c4 100644 --- a/frontend/components/Form/Select.vue +++ b/frontend/components/Form/Select.vue @@ -74,12 +74,8 @@ selectedIdx.value = idx; } - watch( - () => props.modelValue, - () => { - syncSelect(); - } - ); + watch(() => props.items, syncSelect); + watch(() => props.modelValue, syncSelect); const selectedIdx = ref(0); watch(