We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
1.0.0-rc.9
macOS/Chrome 53
2.0.5
直接使用示例中表单校验的代码: http://element.eleme.io/#/component/form
代码中对date1设置初值,如new Date()
先点击“重置”,再点击“立即创建”
表单中的其它项会提示校验错误
校验会停在date1处,后面的项不会提示校验, 查看console信息:
Uncaught TypeError: value.getTime is not a function(…) date @ date.js?d7d3:28
The text was updated successfully, but these errors were encountered:
Form: fix reset value, fixed ElemeFE#937
aeb68b0
4992d59
这个问题并没有修复啊
Sorry, something went wrong.
代码中对date1设置初值为string时,表单提交时,依然会停在此处,并且报错:value.getTime is not a function
我也遇到问题了,直接给date验证设置type="date",初始值转换为时间类型,比如new Date(value)再赋值给表单
我设置了type="date"也没有用
No branches or pull requests
ElementUI version
1.0.0-rc.9
OS/Browers version
macOS/Chrome 53
Vue version
2.0.5
Steps to reproduce
直接使用示例中表单校验的代码: http://element.eleme.io/#/component/form
代码中对date1设置初值,如new Date()
先点击“重置”,再点击“立即创建”
What is Expected?
表单中的其它项会提示校验错误
What is actually happening?
校验会停在date1处,后面的项不会提示校验, 查看console信息:
The text was updated successfully, but these errors were encountered: