mirror of
https://github.com/Hopiu/vue-material.git
synced 2026-05-05 05:54:43 +00:00
Fix input getting wrong value after manual update
This commit is contained in:
parent
c2d8e505f3
commit
a8071a2415
1 changed files with 1 additions and 1 deletions
|
|
@ -49,7 +49,7 @@ export default {
|
|||
},
|
||||
onInput() {
|
||||
this.setParentValue();
|
||||
this.parentContainer.inputLength = this.value.length;
|
||||
this.parentContainer.inputLength = this.value ? this.value.length : 0;
|
||||
this.$emit('change', this.value);
|
||||
this.$emit('input', this.value);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue