[compat] Component v-model doesn't seen to work in compatibility mode
Vue version
3.2.45
Link to minimal reproduction
https://codesandbox.io/s/gifted-morse-xvs4s4?file=/src/App.vue
Steps to reproduce
What is expected?
The component v-model should be bound to and update the correct property.
What is actually happening?
Nothing.
System Info
No response
Any additional comments?
No response
In Vue 2, v-model requires a value
prop and an input
event - so that's what it also requires with the compat build (until you disable v-model compat).
So this works as intended.
As best as I can tell this also doesn't work which is why I ended up trying to update:
https://codesandbox.io/s/shy-cache-y6k0gz?file=/src/Child.vue
Fixed an issue and it does work in the sandbox but the same implementation doesn't reflect in the parent component in my app. Investigating further.