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
datepicker的input最好设成readonly。 #137
Comments
@ibufu ,「可控」是 Element 的一大设计原则,所以我们对于 datepicker 的设计初衷,就是既能够方便地选择,也能够直接快捷地输入。但就目前的公开版本而言,输入体验做得确实不够好,这一点日后会进一步调校优化。 |
@ibufu ,我个人觉得没有必要。。输东西,就让用户自己去输好了。在提交的时候,判断下是否为正确的日期格式即可。 |
@henryzp 格式化每一次用户输入都会在 format,还有其实是可以输入 |
我也支持做成可输入的,只是现在输入后,组件会错误地设置成其它日期 |
@ibufu 我都是自己设置成 readonly |
hazel54
pushed a commit
to hazel54/element
that referenced
this issue
Aug 29, 2018
Implement Dropdown
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
一个小建议,datepicker的input最好设成readonly。因为现在在input里输东西会出现意想不到的事情。
The text was updated successfully, but these errors were encountered: