Radio field
Display type
- radio
Basic example
Schema
{}
fields]
:
[0}
:
{name
:
"color"
meta}
:
{displayType
:
"radio"
options]
:
[0
:
{…
}1
:
{…
}Example with row layout
Set displayProps.optionsLayout to row to display the radio options in a single row.
Schema
{}
fields]
:
[0}
:
{name
:
"color"
meta}
:
{displayType
:
"radio"
options]
:
[0
:
{…
}1
:
{…
}displayProps}
:
{optionsLayout
:
"row"