diff --git a/src/components/input/input.vue b/src/components/input/input.vue index 1831565d..53f4d9b2 100644 --- a/src/components/input/input.vue +++ b/src/components/input/input.vue @@ -150,7 +150,6 @@ }, handleChange (event) { this.$emit('on-change', event); - this.$dispatch('on-form-change', this.value); }, resizeTextarea () { const autosize = this.autosize; @@ -169,6 +168,7 @@ this.$nextTick(() => { this.resizeTextarea(); }); + this.$dispatch('on-form-change', this.value); } }, ready () { diff --git a/test/routers/form.vue b/test/routers/form.vue index aeeb8d2d..fa72a35c 100644 --- a/test/routers/form.vue +++ b/test/routers/form.vue @@ -1,496 +1,41 @@ \ No newline at end of file + } +