Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

react 15.5.4以下0input type="number" 设置value=0或者"0" 无效 #13

Open
wuqiong7 opened this issue Mar 6, 2018 · 0 comments
Open

Comments

@wuqiong7
Copy link
Owner

wuqiong7 commented Mar 6, 2018

如题,各种尝试

  • input是否受控组件
  • type="number" 不支持字符 '0'?
  • min=0

在各种尝试未果后,终于在react版本 15.5.4 >>--to-->>16.2.2后解决

升级react版本至于16.0.0+

参考issues: fix value '.98' should not be equal to '0.98'.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant