Default Object Editor

The standard editor that renders a fieldset containing property editors. The fieldset can be collapsed or expanded.

Activation Conditions

  • "type": "object"

Options

  • x-addPropertyContent: Custom content for add property button
  • x-collapseToggleContent: Custom content for collapse toggle
  • x-deactivateNonRequired: Deactivate non-required properties
  • x-enableCollapseToggle: Enable collapse/expand functionality
  • x-propertiesToggleContent: Custom content for properties toggle
  • x-startCollapsed: Start with the object collapsed
  • x-titleTemplate: Custom template for the title

Example

{
  "type": "object",
  "title": "Login",
  "properties": {
    "email": {
      "title": "E-Mail",
      "type": "string",
      "format": "email"
    },
    "password": {
      "title": "Password",
      "type": "string",
      "minLength": 8
    }
  }
}