Skip to content

Commit

Permalink
fix(MdAutocomplete): fix input emit when cleared (#1295)
Browse files Browse the repository at this point in the history
  • Loading branch information
Samuell1 authored and marcosmoura committed Dec 19, 2017
1 parent d15f63b commit 8a055e8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/MdAutocomplete/MdAutocomplete.vue
Expand Up @@ -180,7 +180,9 @@
this.showOptions()
}
},
onInput () {
onInput (value) {
this.$emit('input', value)
if (!this.mdOpenOnFocus) {
this.showOptions()
}
Expand Down

0 comments on commit 8a055e8

Please sign in to comment.