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
多层嵌套对象的验证规则不生效
比如有以下对象,要验证c属性: { a: { b: { c: 'ccc' } } } 规则是这样写吗?不生效啊 { a: { type: 'object', required: true, fields: { b: { type: 'object', required: true, fields: { c: { type: 'string', required: true } } } } } }
{ a: { b: { c: 'ccc' } } }
{ a: { type: 'object', required: true, fields: { b: { type: 'object', required: true, fields: { c: { type: 'string', required: true } } } } } }
Same issue:yiminghe/async-validator#323
The text was updated successfully, but these errors were encountered:
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days
Sorry, something went wrong.
No branches or pull requests
Describe the bug
多层嵌套对象的验证规则不生效
Reproduction
比如有以下对象,要验证c属性:
{ a: { b: { c: 'ccc' } } }
规则是这样写吗?不生效啊
{ a: { type: 'object', required: true, fields: { b: { type: 'object', required: true, fields: { c: { type: 'string', required: true } } } } } }
Same issue:yiminghe/async-validator#323
System Info
The text was updated successfully, but these errors were encountered: