json-schema-form icon indicating copy to clipboard operation
json-schema-form copied to clipboard

More flexible tab layout

Open aeberhart opened this issue 3 years ago • 0 comments

The tab layout currently allows showing array elements in tabs:

{
  "type": "array",
  "layout": "tab",
  "title": "test",
  "items": {
    "type": "object",
    "properties": {
      "name": {
        "type": "string"
      },
      "version": {
        "type": "number"
      }
    }
  }
}

produces

image

This raises the following questions and issues:

  • The numbering is a bit "computer science like" by starting with 0 instead of 1
  • One option could be to allow this layout for large nested objects, where each property with its subform gets displayed in a tab

aeberhart avatar Apr 06 '22 07:04 aeberhart