Skip to content

Commit 72cd412

Browse files
authored
fix(VChipGroup): don't select items with a value by index (#21742)
fixes #20129
1 parent 683dc86 commit 72cd412

File tree

1 file changed

+1
-1
lines changed
  • packages/vuetify/src/composables

1 file changed

+1
-1
lines changed

packages/vuetify/src/composables/group.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ function getIds (items: UnwrapRef<GroupItem[]>, modelValue: any[]) {
341341

342342
if (item?.value != null) {
343343
ids.push(item.id)
344-
} else if (itemByIndex != null) {
344+
} else if (itemByIndex?.useIndexAsValue) {
345345
ids.push(itemByIndex.id)
346346
}
347347
})

0 commit comments

Comments
 (0)