Skip to content

Commit 8a055e8

Browse files
Samuell1marcosmoura
authored andcommitted
fix(MdAutocomplete): fix input emit when cleared (#1295)
1 parent d15f63b commit 8a055e8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/components/MdAutocomplete/MdAutocomplete.vue

+3-1
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,9 @@
180180
this.showOptions()
181181
}
182182
},
183-
onInput () {
183+
onInput (value) {
184+
this.$emit('input', value)
185+
184186
if (!this.mdOpenOnFocus) {
185187
this.showOptions()
186188
}

0 commit comments

Comments
 (0)