Skip to content

Commit 166093c

Browse files
authored
fix: combobox test (#480)
1 parent d109e8c commit 166093c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/kit-headless/src/components/combobox/combobox-option.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,7 @@ export const ComboboxOption = component$(
3333
return;
3434
}
3535

36-
(context.inputRef.value.value =
37-
context.filteredOptionsSig.value[context.highlightedIndexSig.value]?.label),
36+
(context.inputRef.value.value = context.filteredOptionsSig.value[index]?.label),
3837
(context.isListboxOpenSig.value = false);
3938
});
4039

0 commit comments

Comments
 (0)