Skip to content

Commit

Permalink
fix(VAutocomplete): only clear search on blur in multiple or using ch…
Browse files Browse the repository at this point in the history
…ips/selection shots (#19701)

resolves #19543

Co-authored-by: Yuchao Wu <[email protected]>
  • Loading branch information
elkofy and yuwu9145 authored May 7, 2024
1 parent 330baa0 commit d02e1b3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ export const VAutocomplete = genericComponent<new <
select(displayItems.value[0])
}
menu.value = false
search.value = ''
if (props.multiple || hasSelectionSlot.value) search.value = ''
selectionIndex.value = -1
}
})
Expand Down

0 comments on commit d02e1b3

Please sign in to comment.