Skip to content

Radio

Available for fields of type selection.

<field name="entry_level" widget="radio" />

With vertical direction

<field name="entry_level" widget="radio"
widget_props='{"direction": "vertical"}' />

API

PropertyDescriptionTypeDefaultVersion
widget_propsProps for the widget. See Widget props--

Widget props

PropertyDescriptionTypeDefaultVersion
directionDirection of the radio buttonshorizontal | verticalhorizontal-