Radio selects do not work in lists
Using a list field with a subfield that has options and is set to display as radios, does not work.
Example schema:
{
"name": "Sandbox",
"description": "Example form to use for development.",
"author": "[email protected]",
"version": "1.0",
"pages": [
{
"label": "Required Documents",
"sections": [
{
"fields": [
"items"
]
}
]
}
],
"fields": {
"items": {
"type": "array",
"label": "Legal Country",
"allowAdd": true,
"allowEdit": true,
"fields": {
"name": {
"type": "text",
"label": "Name"
},
"registrationYears": {
"label": "Renew the LEIs that are due for renewal for multiple years",
"type": "text",
"radios": true,
"default": "3",
"options": {
"1": "1 Year",
"2": "2 Years",
"5": "5 Years"
},
"_options": {
"url": "api/getLEIPricing/multi_transfer?promoCodeCheck={{!promoCodeCheck}}"
},
"invalid": "LEI renewal year(s) is required"
}
}
}
}
}
The radios will work in the new
element, but in the list item elements. The field label is displayed, but the radio buttons themselves are not.