-
-
Notifications
You must be signed in to change notification settings - Fork 47.5k
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
v0.12 使用 Form 提供的校验功能代替 Validation如何考虑的 #1007
Comments
你比较过就知道原来的写法更麻烦:http://011x.ant.design/components/validation |
我想把每个表单域和validator作为一组, 放单独的jsx文件里, 动态组装表单, 现在可以支持了吗 |
@afc163 我目前只用了校验提示,没有用表单校验例子的那种方式,只是觉得createForm有点怪。 |
@singba 如果只是需要校验,何不直接使用 async-validator? |
@benjycui 谢谢,我不知道,学习了 |
This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread. |
感觉比以前用起来更复杂,一些应该是组件内部完成的,是我理解错了吗
createForm、form={this.props.form}、getFieldProps
The text was updated successfully, but these errors were encountered: