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

In the ConfigProvider global configuration, the form validation does not pass and the prompt information does not take effect #5693

Closed
1 task
tamaosamu opened this issue Jun 11, 2022 · 2 comments

Comments

@tamaosamu
Copy link

tamaosamu commented Jun 11, 2022

  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

3.2.6

Environment

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36

Reproduction link

https://github.com/mrchao/antd-design-vue-v3.2.6-bug-demo.git
codesandbox

Steps to reproduce

英文切换到中文后,表单验证错误提示

What is expected?

路径:ant-design-vue/es/locale/zh_CN
字段:localeValues -> Form -> defaultValidateMessages
期待语言文件中验证表单配置的defaultValidateMessages参数可以全局生效

What is actually happening?

可能是全局初始化的时候配置参数没有覆盖默认参数值

@github-actions github-actions bot changed the title ConfigProvider 全局化配置中表单验证不通过提示信息不生效 In the ConfigProvider global configuration, the form validation does not pass and the prompt information does not take effect Jun 11, 2022
@tamaosamu
Copy link
Author

iShot_2022-06-11_19 11 06

iShot_2022-06-11_19 17 09

@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 12, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants