Skip to content

Commit b9108e6

Browse files
authored
Close on tag when using single selection
1 parent a983a25 commit b9108e6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/multiselectMixin.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -413,6 +413,7 @@ module.exports = {
413413
if (option.isTag) {
414414
this.$emit('tag', option.label, this.id)
415415
this.search = ''
416+
if (this.closeOnSelect && !this.multiple) this.deactivate()
416417
} else {
417418
const isSelected = this.isSelected(option)
418419
if (isSelected) {

0 commit comments

Comments
 (0)