Closed githubhwen closed 1 year ago
react-vant
react-vant-icons
1.0.0-beta.38
No response
该bug在官网可复现,限制10个字符的输入框,输入9个中文后,最后一个文字在打中文的时候,输入不了 https://react-vant.3lang.dev/components/input#props
是因为中文会占两个字符
should be a bug https://developer.mozilla.org/en-US/docs/web/html/attributes/maxlength
Which React Vant packages are impacted?
react-vant
(React Vant core)react-vant-icons
(React Vant Icon)What version of React Vant are you using?
1.0.0-beta.38
Reproduce live demo(codesandebox or stackblitz)?
No response
Descripition
该bug在官网可复现,限制10个字符的输入框,输入9个中文后,最后一个文字在打中文的时候,输入不了 https://react-vant.3lang.dev/components/input#props