Material Select

When you add enum values without any uiSchema.json it will fallback to default material select

Material Select

Material Select Component integration

schema.json
{
  "title": "Example for rendering react-select component",
  "description": "A simple form with react-select component",
  "type": "object",
  "properties": {
    "select": {
      "type": "string",
      "title": "Example select",
      "enum": [
        "Yes",
        "No"
      ]
    }
  }
}
formData.json
{
  "selectTest": "[{\"value\":\"Yes\",\"label\":\"Yes\"},{\"value\":\"No\",\"label\":\"No\"}]"
}

Last updated