Checkbox默认值没有区分数字和字符串、数组,且前后可以输入任何字符 #83
Unanswered
wangjie19910615
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
"5g3djhntkv8": {
"type": "Array<string | number>",
"title": "Checkbox Group",
"x-decorator": "FormItem",
"x-component": "Checkbox.Group",
"enum": [
{
"label": "选项1",
"value": 1
},
{
"label": "选项2",
"value": 2
}
],
"x-validator": [],
"x-decorator-props": {},
"default": "{1,2",
"x-designable-id": "5g3djhntkv8",
"x-index": 2
}
default可以设置任意字符或者数组,导致提交的数据在formily渲染器中解析
Beta Was this translation helpful? Give feedback.
All reactions