Closed cloud-tribal closed 7 years ago
This is easily reproduceable. Whenever you set the value from parent (e.g vuex) @change, the change event gets called twice.
1- @change parent handler assigns new value prop, which triggers realValue change 2- v-model in child sets realValue as well
realValue
How do I fix this ?
Thanks! Fixed.
This is easily reproduceable. Whenever you set the value from parent (e.g vuex) @change, the change event gets called twice.
1- @change parent handler assigns new value prop, which triggers
realValue
change 2- v-model in child setsrealValue
as wellHow do I fix this ?