Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More flexible tab layout #148

Open
aeberhart opened this issue Apr 6, 2022 · 0 comments
Open

More flexible tab layout #148

aeberhart opened this issue Apr 6, 2022 · 0 comments

Comments

@aeberhart
Copy link
Contributor

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant