Links

Checkbox

Checkbox

Checkbox Component Integration
schema.json
{
"title": "Example for rendering currency component",
"description": "A simple form with currency component",
"type": "object",
"properties": {
"multipleChoicesList": {
"type": "array",
"title": "A multiple choices list",
"items": {
"type": "string",
"enum": [
"foo",
"bar",
"fuzz",
"qux"
]
},
"uniqueItems": true
}
}
}
uiSchema.json
{
"multipleChoicesList": {
"ui:widget": "checkboxes"
}
}
formData.json
{
"multipleChoicesList": [
"foo",
"bar"
]
}
Last modified 1yr ago