Hi Team,
we have 15 radio buttons dynamically render by JSON-forms. we want to align a radio button in 5X3 format (5 rows and 3 columns) . is there any solution to align a radio button in horizontally ?.
please refer my code,
{“jsnSchema”:
{“title”:“Radio Button”,
“type”:“object”,
“properties”:
{
“Radio Button”:
{“enum”:[“11111111111111111111111”,
“111111111111111111111122”,
“111111111111111111111111”,
“111111111111111111111113”,
“111111111111111111111114”,
“111111111111111111111116”,
“111111111111111111111112”,
“111111111111111111111115”,
“111111111111111111111117”,
“111111111111111111111118”,
“111111111111111111111119”,
“111111111111111111111110”,
“111111111111111111111121”,
“111111111111111111111123”,
“111111111111111111111124”]
}
}
},
“jsnUIschema”:
{
“label”:“Radio Button”,
“type”:“Group”,
“elements”:
[{“type”:“VerticalLayout”,
“elements”:
[{“type”:“HorizontalLayout”,
“elements”:
[{“type”:“Control”,
“label”:"",
“scope”:"#/properties/Radio Button",
“options”:{“format”:“radio”}
}]
}]
}]
}
}