Skip to content

如何在 FormSchema 中的 CheckBox 指定 checked 属性 #2921

Closed Answered by ppd0705
ppd0705 asked this question in Q&A
Discussion options

You must be logged in to vote

不需要slot, 直接设置 defaultValue即可

{
    label: 'aa',
    field: 'aa',
    component: 'Checkbox',
    defaultValue: true,
  }

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by ppd0705
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant