Replies: 3 comments
-
I vue prop used for v-model updates before @change event |
Beta Was this translation helpful? Give feedback.
-
@7iomka I managed to get the desired behaviour in two steps:
|
Beta Was this translation helpful? Give feedback.
-
@maxbublik what sense of v-model in vue petite? We cant watch on prop value, and do something after it change. v-model totally useless. PS. is it equal? @change="handleChange($event) // e.target.value |
Beta Was this translation helpful? Give feedback.
-
Hi.
https://codepen.io/7iomka/pen/GRmbOrZ?editors=1111
My question is - why
this.prop
have old not updated value in @change callback?Beta Was this translation helpful? Give feedback.
All reactions