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
在 antd@4 的情况下使用 form.setFieldsValue 给 ProFormTimePicker 设置值,由于 https://github.com/ant-design/pro-components/blob/b114d7ad6f41612c2f627f23f84570fd915538a7/packages/utils/src/parseValueToMoment/index.ts 这个方法不支持时间格式,导致 invalid date。
form.setFieldsValue({ expirationTime: '12:00', });
期望升级版本不影响原 antd@4 的用户
The text was updated successfully, but these errors were encountered:
fix(form): ant-design#6862 兼容 antd@4 ProFormTimePicker format 异常问题
918854c
76131bb
No branches or pull requests
🐛 bug 描述
在 antd@4 的情况下使用 form.setFieldsValue 给 ProFormTimePicker 设置值,由于
https://github.com/ant-design/pro-components/blob/b114d7ad6f41612c2f627f23f84570fd915538a7/packages/utils/src/parseValueToMoment/index.ts 这个方法不支持时间格式,导致 invalid date。
🏞 期望结果
期望升级版本不影响原 antd@4 的用户
The text was updated successfully, but these errors were encountered: