Object Radios
Renders radio inputs for object enum values. Each radio stores the full selected object as the field value. Labels can be customized with x-enumTitles.
Activation Conditions
"type": "object""enum": [...]"x-format": "radios"
Example
{
"type": "object",
"title": "How did you hear about us?",
"x-format": "radios",
"x-enumTitles": [
"Social media",
"A friend or colleague",
"Online search",
"Advertisement"
],
"enum": [
{
"source": "social_media",
"score": 4
},
{
"source": "referral",
"score": 5
},
{
"source": "search",
"score": 3
},
{
"source": "ad",
"score": 2
}
]
}