Skip to content

Commit

Permalink
fix(VAutocomplete): highlight correct item in list on click
Browse files Browse the repository at this point in the history
fixes #17201
  • Loading branch information
KaelWD committed Feb 12, 2024
1 parent 7d67046 commit bc48f00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vuetify/src/components/VSelect/VSelect.ts
Original file line number Diff line number Diff line change
Expand Up @@ -858,7 +858,7 @@ export default baseMixins.extend<options>().extend({
if (this.hideSelected) {
this.setMenuIndex(-1)
} else {
const index = this.allItems.indexOf(item)
const index = this.computedItems.indexOf(item)
if (~index) {
this.$nextTick(() => this.$refs.menu.getTiles())
setTimeout(() => this.setMenuIndex(index))
Expand Down

0 comments on commit bc48f00

Please # to comment.