eclipsesource / eclipsesource/jsonforms
Duplicate column definition name provided: "action" in "type": "array"
- Dominant language
- TypeScript
- Stars
- 2.7k
- Forks
- 424
- Avg merge
- 17d 8h
- Merged PRs (30d)
- 1
Description
### Describe the bug
Error when there is an "action" field in the "type": "array"
### Expected behavior
No Error
### Steps to reproduce the issue
```
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Configuration",
"type": "object",
"properties": {
"name": {
"type": "string"
},
"type": {
"type": "string",
"enum": [
"standard",
"expanded"
],
"default": "standard"
},
"entries": {
"type": "array",
"title": "Rules",
"items": {
"type": "object",
"required": [
"action",
"value"
],
"properties": {
"action": {
"type": "string",
"enum": [
"permit",
"deny"
]
},
"value": {
"type": "string"
}
}
}
}
}
}
```
apply this schema and you'll see:
Caught error Error: Duplicate column definition name provided: "action".
at getTableDuplicateColumnNameError
### Screenshots
_No response_
### Which Version of JSON Forms are you using?
v3.7.0
### Package
Angular Material Renderers
### Additional context
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.