You can configure an option button in the box style.

Description

Field nameElementTypeRequiredRemarks
nameThe name of the control.stringYesNo default value.
typeTypestringYesNo default value.
defaultDefault valuestringNoIf this field is not specified, it is left empty.
optionsOptionsarrayNoThe value is an object array, which consists of the label and value fields. The label field specifies the text to be displayed, and the value field specifies the value of the text.
evenlySplitSpecifies whether the options are evenly distributed.booleanNoNone. the evenlySplit field and the optionCol field are both configured, the former takes effect in priority.

Values

ConditionData typeExamplesDefault value
None.object"left"""

Sample configuration

Configuration example of the option button
"algin": {
    "name": "Alignment",
    "type": "buttonRadio",
    "evenlySplit": true,
    "options": [
      {
        "value": "left",
        "label": "Left"
      },
      {
        "value": "right",
        "label": "Center"
      },
      {
        "value": "bottom",
        "label": "Right"
      }
    ]
  }