Skip to content

Commit

Permalink
fix: deep watch multiple values
Browse files Browse the repository at this point in the history
  • Loading branch information
pirhoo committed Mar 21, 2024
1 parent 635354b commit 35aec5a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/components/SelectableDropdown.vue
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,8 @@ export default defineComponent({
'update:modelValue',
props.multiple ? activeItems.value : activeItems.value[0]
)
}
},
{ deep: true }
)
watch(
() => props.modelValue,
Expand Down

0 comments on commit 35aec5a

Please sign in to comment.