v-model not binding with reactive
Vue version
^3.2.37
Link to minimal reproduction
Steps to reproduce
- Click on the first button. dataReactive (
dataReactive = reactive({})
) is not updated. Is this a desired effect forreactive
? Why? - Click on the second button. dataRef (
dataRef = ref({})
) does is updated. - WHY when dataRef is updated is also updated dataReactive? WTF.
What is expected?
- v-model updating variable declared with
reactive
. - dataReactive not changed when dataRef changes.
What is actually happening?
- v-model not updating variable declared with
reactive
. dataReactive
changing whendataRef
is changed. WTF!
System Info
No response
Any additional comments?
No response