Skip to content

Commit 15d7dae

Browse files
committed
fix(VAutocomplete): don't try to reset search on blur if multiple
fixes #13877
1 parent 259d38c commit 15d7dae

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

packages/vuetify/src/components/VAutocomplete/VAutocomplete.ts

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -410,14 +410,18 @@ export default VSelect.extend({
410410
})
411411
},
412412
updateSelf () {
413-
if (!this.searchIsDirty &&
413+
if (
414+
!this.searchIsDirty &&
414415
!this.internalValue
415416
) return
416417

417-
if (!this.valueComparator(
418-
this.internalSearch,
419-
this.getValue(this.internalValue)
420-
)) {
418+
if (
419+
!this.multiple &&
420+
!this.valueComparator(
421+
this.internalSearch,
422+
this.getValue(this.internalValue)
423+
)
424+
) {
421425
this.setSearch()
422426
}
423427
},

0 commit comments

Comments
 (0)