We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a2cebf7 commit 9b53804Copy full SHA for 9b53804
packages/radix-vue/src/Combobox/ComboboxRoot.vue
@@ -188,7 +188,7 @@ function resetSearchTerm() {
188
189
const activeIndex = computed(() => filteredOptions.value.findIndex(i => isEqual(i, selectedValue.value)))
190
const selectedElement = computed(() => {
191
- return reactiveItems.value.find(i => i.value === selectedValue.value)?.ref
+ return reactiveItems.value.find(i => isEqual(i.value, selectedValue.value))?.ref
192
})
193
194
const stringifiedModelValue = computed(() => JSON.stringify(modelValue.value))
0 commit comments