RobotRock
Context widgets

Boolean

  • Auto-selected for: boolean values
  • ui:options: none
context: {
  data: { requiresLegalReview: true },
  ui: { requiresLegalReview: { "ui:widget": "boolean" } },
}

Inbox preview

Rendered by the dashboard (static preview route). Matches docs light/dark mode. Handle actions are disabled; use the toolbar to submit this example to your inbox or view its configuration.

Context

{
  "data": {
    "requiresLegalReview": true
  },
  "ui": {
    "requiresLegalReview": {
      "ui:title": "Requires legal review",
      "ui:widget": "boolean"
    }
  }
}

See also

This widget also appears in the full Support Ticket task example.