Vue version
3.5.13
Link to minimal reproduction
https://codepen.io/markrian/pen/mybremp
Steps to reproduce
Enter numbers into the inputs. The displayed bound values should be numbers, not strings.
For instance:
| Expected |
Actual |
 |
 |
What is expected?
v-model modifiers should work when used on components under @vue/compat.
What is actually happening?
v-model modifiers do not work when used on components under @vue/compat.
System Info
No response
Any additional comments?
You can see the behaviour working as expected under Vue 2 and Vue 3 (proper).
It seems this behaviour was fixed on Vue 3 proper in #2348. Perhaps similar treatment needs to be done for __COMPAT__ code paths?
Vue version
3.5.13
Link to minimal reproduction
https://codepen.io/markrian/pen/mybremp
Steps to reproduce
Enter numbers into the inputs. The displayed bound values should be numbers, not strings.
For instance:
What is expected?
v-model modifiers should work when used on components under
@vue/compat.What is actually happening?
v-model modifiers do not work when used on components under
@vue/compat.System Info
No response
Any additional comments?
You can see the behaviour working as expected under Vue 2 and Vue 3 (proper).
It seems this behaviour was fixed on Vue 3 proper in #2348. Perhaps similar treatment needs to be done for
__COMPAT__code paths?