Skip to content

Commit a3ca52e

Browse files
authored
Fix Combobox activeOption render prop (#2973)
* Fix Combobox `activeOption` render prop * Update changelog
1 parent e6136aa commit a3ca52e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/@headlessui-vue/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10-
- Nothing yet!
10+
- Fix Combobox `activeOption` render prop ([#2973](https://github.com/tailwindlabs/headlessui/pull/2973))
1111

1212
## [1.7.18] - 2024-02-02
1313

packages/@headlessui-vue/src/components/combobox/combobox.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -725,7 +725,7 @@ export let Combobox = defineComponent({
725725
? null
726726
: api.virtual.value
727727
? api.virtual.value.options[api.activeOptionIndex.value ?? 0]
728-
: api.options.value[api.activeOptionIndex.value]?.dataRef.value.value ?? null,
728+
: api.options.value[api.activeOptionIndex.value]?.dataRef.value ?? null,
729729
value: value.value,
730730
}
731731

0 commit comments

Comments
 (0)