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

Table column should respect 'title' #1610

Closed
sdirix opened this issue Jul 13, 2020 · 0 comments · Fixed by #1650
Closed

Table column should respect 'title' #1610

sdirix opened this issue Jul 13, 2020 · 0 comments · Fixed by #1650

Comments

@sdirix
Copy link
Member

sdirix commented Jul 13, 2020

Bug
The name of a table column is derived from the property name. We should also check for a title of such a property.

To Reproduce
Use the following schema and uischema

{
  "type": "object",
  "properties": {
    "location": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "street": {
            "title": "Road",
            "type": "string"
          }
        }
      }
    }
  }
}
{
  "type": "Control",
  "scope": "#/properties/location"
}

Expected behavior
The column should be "Road" instead of "Street"

Used Setup

  • Framework: [react]
  • RendererSet: [material]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants