Hello,
I’m having trouble setting a checkbox to use the “toggle” option. Here is my JSON Schema:
{
"type": "object",
"properties": {
"reporting_status": {
"type": "object",
"properties": {
"title": {
"type": "string"
},
"status_types": {
"type": "array",
"items": {
"type": "object",
"properties": {
"value": {
"type": "string"
},
"hide_on_goal_pages": {
"type": "boolean"
}
}
}
}
}
}
}
}
And here is my UI Schema:
{
"type": "Group",
"label": "Reporting status",
"elements": [
{
"type": "Control",
"scope": "#/properties/reporting_status/properties/title"
},
{
"type": "Control",
"scope": "#/properties/reporting_status/properties/status_types"
}
]
}
My goal is to get the checkboxes inside the “statues_types” items to be toggles. I know that I need to use this somewhere:
options: {
toggle: true
}
But I can’t figure out what I need to add to the UI Schema where I can place that. Any tips are appreciated!