Inline Radio Buttons Number Editor

Displays radio buttons horizontally for more compact layouts while maintaining the same functionality as the vertical radio list.

Activation Conditions

  • "type": "number" or "type": "integer"
  • "enum" array defined
  • "x-format": "radios-inline"

Optional Properties

  • "x-enumTitles" - Short labels that work well in horizontal layouts

Example

{
  "x-format": "radios-inline",
  "type": "number",
  "title": "Quantity",
  "enum": [
    0,
    1,
    2
  ],
  "x-enumTitles": [
    "None",
    "One",
    "A pair"
  ]
}