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 39c7fd7 commit 89b6887Copy full SHA for 89b6887
packages/ui/src/composables/useSelectableList.ts
@@ -38,7 +38,7 @@ export function useSelectableList (props: ExtractPropTypes<typeof useSelectableL
38
const getTrackBy = (option: SelectableOption): string | number => {
39
const key = props.trackBy ? getOptionProperty(option, props.trackBy) : getValue(option)
40
41
- if (typeof key === 'object') {
+ if (isObject(key)) {
42
return getObjectId(key)
43
}
44
0 commit comments