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
解决依赖多个其他表单项时,触发自动校验 例如: dependencies={['field','*']} 满足namePath的所有表单项变化都将触发改表单项重新校验
dependencies={['field',new RegExp()]}
The text was updated successfully, but these errors were encountered:
一般情况下,表单互相有关联的字段都是个别,支持正则的必要性感觉没那么大。
Sorry, something went wrong.
但不可否人在某些情况需要他,比如处理表格中的表单字段,每一列字段名都是一样的但为了区分,需要给表单 name 拼接成唯一一个标识name=[id, filedName]
表单项的name 本身就必须唯一,否则功能会有问题。
所以正则在这里就有意义了
不会支持这么复杂的匹配。
No branches or pull requests
What problem does this feature solve?
解决依赖多个其他表单项时,触发自动校验 例如: dependencies={['field','*']} 满足namePath的所有表单项变化都将触发改表单项重新校验
What does the proposed API look like?
dependencies={['field',new RegExp()]}
The text was updated successfully, but these errors were encountered: