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

Form,统一配置校验信息,无需每个字段的每个规则都单独配置 message #313

Closed
chaishi opened this issue Jan 22, 2022 · 2 comments
Labels

Comments

@chaishi
Copy link
Collaborator

chaishi commented Jan 22, 2022

Describe the solution you'd like

https://github.com/react-component/field-form/blob/master/src/utils/messages.ts

如链接所示,每个规则支持默认校验信息,无需业务侧给每一个规则添加校验信息 message

在支持默认校验信息的基础上,还需支持业务侧自行配置校验信息

@github-actions
Copy link
Contributor

这个 Issue 被标记为了过时 stale ,因为它已经 open 了 30 天,没有任何活动。删除 stale 标签或评论,否则将在 7 天内关闭。

@github-actions github-actions bot added the Stale label Feb 22, 2022
@github-actions
Copy link
Contributor

github-actions bot commented Mar 1, 2022

此 Issue 被自动关闭,因为它自被标记为过时 stale 以来已闲置 5 天。

@github-actions github-actions bot closed this as completed Mar 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant