Describe the bug
The problem comes from here
Using @eclipse-emfcloud/theia-tree-editor and indirectly:
"@jsonforms/core": "3.0.0-alpha.2",
"@jsonforms/react": "3.0.0-alpha.2",
"@jsonforms/vanilla-renderers": "3.0.0-alpha.2"
Basically, when providing
to JSON forms, it shows a UI with a [+] button (which seems that should allow to add a new element to my list).

Actually, by clicking that button nothing happens:
- No errors
- No exceptions in the console
- Corresponding method in the Tree Editor is not called
However, when we only provide
to JSON forms, it shows a completely different UI.

In this UI, the add button actually triggers the corresponding listener in the Tree Editor.
Expected behavior
That by clicking the [+] button the listener methods are called and we can react on user action.
Steps to reproduce the issue
/
Screenshots
No response
In which browser are you experiencing the issue?
Firefox Version 99.0.1
Framework
Core, React
RendererSet
Vanilla
Additional context
The relevant schema snippet is the following:
"import": {
"$id": "#import",
"title": "Import",
"type": "object",
"properties": {
"eClass": {
"const": "http://my_schema/1.0.0#//Import"
},
"document": {
"type": "string"
},
"package": {
"type": "string"
},
"prefix": {
"type": "string"
}
},
"additionalProperties": false,
"required": ["document", "package", "prefix"]
},
"imports": {
"$id": "#imports",
"title": "Imports",
"type": "object",
"properties": {
"eClass": {
"const": "http://my_schema/1.0.0#//Imports"
},
"import": {
"type": "array",
"items": {
"$ref": "#/definitions/import"
}
}
},
"additionalProperties": false,
"required": ["import"]
}
The data looks like the following:
{
"import": [{
"document": "Document1",
"package": "Package1",
"prefix": "Prefix"
}]
}
Describe the bug
The problem comes from here
Using
@eclipse-emfcloud/theia-tree-editorand indirectly:Basically, when providing
to JSON forms, it shows a UI with a [+] button (which seems that should allow to add a new element to my list).
Actually, by clicking that button nothing happens:
However, when we only provide
to JSON forms, it shows a completely different UI.
In this UI, the add button actually triggers the corresponding listener in the Tree Editor.
Expected behavior
That by clicking the [+] button the listener methods are called and we can react on user action.
Steps to reproduce the issue
/
Screenshots
No response
In which browser are you experiencing the issue?
Firefox Version 99.0.1
Framework
Core, React
RendererSet
Vanilla
Additional context
The relevant schema snippet is the following:
The data looks like the following: