-
-
Notifications
You must be signed in to change notification settings - Fork 47.5k
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
建议 Input的value和Select的value表现一致 #1038
Comments
http://codepen.io/anon/pen/obRGJj?editors=001 Select 设置了 value 应该是不可修改的吧。 |
我在用的时候遇到的问题defaultValue没办法解决 稍后我想办法还原在codepen上 |
http://codepen.io/LeuisKen/pen/RrmxRe?editors=0010 发现在绑定了state的时候 其实value是可以输入的 因为之前问的时候知道了value会锁定就没考虑 结果表明两者的表现确实是一致的 不过还有一点小建议 哈哈 写在CodePen里面了 就是希望Input和Select的disabled样式能保持一致 |
看到了。 |
感谢反馈,先关了。 |
This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread. |
Input的value在props写定则不可更改
Select的value在props写定也可以更改
在使用时该觉Input这种设定用起来很不舒服 希望能统一一下
或者希望官方能够给出这样设计的理由和使用场景
The text was updated successfully, but these errors were encountered: