Open
Description
Vue version
3.5.13
Link to minimal reproduction
https://codesandbox.io/p/devbox/4twzxl
Steps to reproduce
- Use the use template to reference a Dom
- Define a constant with the same name using defineModel
- This constant becomes a reference to the DOM or component
What is expected?
A constant is a model declared by defineModel
What is actually happening?
This constant is becomes a reference to the DOM or component
System Info
System:
OS: Linux 6.1 Debian GNU/Linux 12 (bookworm) 12 (bookworm)
CPU: (2) x64 AMD EPYC
Memory: 2.08 GB / 4.01 GB
Container: Yes
Shell: Unknown
Binaries:
Node: 20.12.0 - /usr/local/bin/node
Yarn: 1.22.19 - /usr/local/bin/yarn
npm: 10.5.0 - /usr/local/bin/npm
pnpm: 8.15.6 - /usr/local/share/npm-global/bin/pnpm
npmPackages:
vue: ^3.5.13 => 3.5.13
Any additional comments?
No response