jsonforms-editor
jsonforms-editor copied to clipboard
ObjectRenderer removes whole ui schema when any contained element is deleted
Description The ObjectRenderer (currently only available when manually editing the ui schema) renders a group with controls for all contained properties. All these elements are shown as deletable. If any of them is deleted, the whole ui schema is removed.
To reproduce Steps to reproduce the behavior:
- Go to https://jsonforms-editor.netlify.app/
- Use the following ui schema
{ "type": "VerticalLayout", "elements": [ { "type": "Control", "scope": "#/properties/name" }, { "type": "Control", "scope": "#/properties/personalData" } ] } - Delete any of the object elements
Expected behavior Delete should not be offered on any of the object elements
Screenshots
