Skip to content

Commit 567e9a7

Browse files
VdustRmarcosmoura
authored andcommitted
fix(MdTextarea): fix input event handler not triggering (#1341)
add `onInput` as `input` to listeners fix #1340
1 parent 7110eab commit 567e9a7

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/components/MdField/MdTextarea/MdTextarea.vue

+4-3
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,10 @@
4848
},
4949
computed: {
5050
listeners () {
51-
var l = {...this.$listeners}
52-
delete l.input
53-
return l
51+
return {
52+
...this.$listeners,
53+
input: this.onInput
54+
}
5455
},
5556
textareaStyles () {
5657
return {

0 commit comments

Comments
 (0)