Basic examples

Empty string prop

{
  "schema": {
    "type": "object",
    "properties": {
      "firstName": {
        "type": "string"
      }
    }
  },
  "layout": {
    "key": "firstName"
  }
}

String prop with placeholder

{
  "schema": {
    "type": "object",
    "properties": {
      "firstName": {
        "description": "Enter your first name",
        "title": "First name",
        "type": "string"
      }
    }
  },
  "layout": {
    "key": "firstName",
    "placeholder": "Example: John"
  }
}

Required string prop

Disabled and constant string prop

Limited/specific format string prop

Number input examples

Last updated

Was this helpful?