Closed
Description
Vue version
3.2.37
Link to minimal reproduction
Steps to reproduce
- Write from keyboard one ore more leading zeroes into input like 000123.
What is expected?
Value inside the input should be shown without leading zeroes.
What is actually happening?
Value in reactive bodyReq is without leading zeroes, however inside input it is shown with leading zeroes.
System Info
System:
OS: macOS 14.3.1
CPU: (8) arm64 Apple M1
Memory: 53.63 MB / 16.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 20.9.0 - /usr/local/bin/node
npm: 10.1.0 - /usr/local/bin/npm
bun: 0.5.8 - /usr/local/bin/bun
Browsers:
Chrome: 123.0.6312.86
Safari: 17.3.1
Any additional comments?
If we put bodyReq[v] = num
inside settimeout function it works.