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

[FR]: 建议给 Form 组件增加 validateTrigger 属性 #2535

Open
zhangminggeek opened this issue Aug 12, 2024 · 0 comments · May be fixed by #2595 or #2772
Open

[FR]: 建议给 Form 组件增加 validateTrigger 属性 #2535

zhangminggeek opened this issue Aug 12, 2024 · 0 comments · May be fixed by #2595 or #2772

Comments

@zhangminggeek
Copy link
Contributor

这个功能解决了什么问题?

现在只有 Form.Item 组件有 validateTrigger 属性,当表单的所有字段需要修改校验时机时需要对每个 Form.Item 进行修改,建议给 Form 增加一个 validateTrigger 属性用于对表单组件的全局修改

你期望的组件设计是怎样的?

interface FormProps {
    validateTrigger: string | string[];
}
@oasis-cloud oasis-cloud linked a pull request Nov 5, 2024 that will close this issue
@oasis-cloud oasis-cloud linked a pull request Nov 21, 2024 that will close this issue
20 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant