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
1.依赖仓库的版本(Dependencies versions):
2.问题描述(Bug description): 放在card组件中的schema表单必填校验不生效 3.出现问题的 schema demo(Reproduction schema demo):
const schema = { // ... { "type": "object", "widget": "card", "column": 0.5, "required": true, "dependencies": [], "rules": [ { "validator": "{{ (_, value) => !!value }}", "message": "请填写必填项" } ], "props": { "rules": [ { "validator": "{{ (_, value) => !!value }}", "message": "请填写必填项" } ] }, "properties": { "$帮助性": { "title": "帮助性", "required": true, "dependencies": [], "is_standard_answer": true, "displayType": "column", "validateTrigger": "onSubmit", "rules": [ { "validator": "{{ (_, value) => console.log(value) }}", "message": "请填写必填项" } ], "props": { "options": [ { "label": "0分", "value": "0" }, { "label": "1分", "value": "1" }, { "label": "2分", "value": "2" }, { "label": "3分", "value": "3" }, { "label": "4分", "value": "4" } ], "optionType": "button", "buttonStyle": "solid" }, "widget": "radio", "cellSpan": 1 }, } }, }
The text was updated successfully, but these errors were encountered:
lhbxs
No branches or pull requests
1.依赖仓库的版本(Dependencies versions):
2.问题描述(Bug description):
放在card组件中的schema表单必填校验不生效
3.出现问题的 schema demo(Reproduction schema demo):
The text was updated successfully, but these errors were encountered: