String Select

Renders a select dropdown with options from the enum constraint. The options labels can be customized with the enumTitles option.

Activation Conditions

  • "type": "string"
  • "enum": [...]

Example

{
  "type": "string",
  "title": "String select",
  "enum": [
    "albert",
    "betti",
    "carl"
  ],
  "x-enumTitles": [
    "Albert",
    "Betti",
    "Carl"
  ]
}