-
Notifications
You must be signed in to change notification settings - Fork 418
Open
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