Skip to content

Commit

Permalink
fix(MdTextarea): fix input event handler not triggering (#1341)
Browse files Browse the repository at this point in the history
add `onInput` as `input` to listeners

fix #1340
  • Loading branch information
VdustR authored and marcosmoura committed Dec 26, 2017
1 parent 7110eab commit 567e9a7
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/components/MdField/MdTextarea/MdTextarea.vue
Expand Up @@ -48,9 +48,10 @@
},
computed: {
listeners () {
var l = {...this.$listeners}
delete l.input
return l
return {
...this.$listeners,
input: this.onInput
}
},
textareaStyles () {
return {
Expand Down

0 comments on commit 567e9a7

Please sign in to comment.