Skip to content

Commit

Permalink
fix(VSelect): fix VSelect behavior when switching to another tab (#5780)
Browse files Browse the repository at this point in the history
* fix(VSelect): fix VSelect behavior when switching to another tab

Fixes #5774

* fix(VSelect): make unit tests passing
  • Loading branch information
Dmitriy Sharshakov aka. sh7dm authored and johnleider committed Dec 9, 2018
1 parent 68a9aec commit 980142f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/vuetify/src/components/VSelect/VSelect.js
Expand Up @@ -532,6 +532,7 @@ export default {
return getPropertyFromItem(item, this.itemValue, this.getText(item))
},
onBlur (e) {
this.blur()
this.$emit('blur', e)
},
onChipInput (item) {
Expand All @@ -556,7 +557,7 @@ export default {
}
},
onEnterDown () {
this.onBlur()
this.$emit('blur', undefined)
},
onEscDown (e) {
e.preventDefault()
Expand Down

0 comments on commit 980142f

Please sign in to comment.