Skip to content
This repository was archived by the owner on Nov 19, 2025. It is now read-only.
This repository was archived by the owner on Nov 19, 2025. It is now read-only.

ObjectRenderer removes whole ui schema when any contained element is deleted #115

@sdirix

Description

@sdirix

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:

  1. Go to https://jsonforms-editor.netlify.app/
  2. Use the following ui schema
    {
      "type": "VerticalLayout",
      "elements": [
        {
          "type": "Control",
          "scope": "#/properties/name"
        },
        {
          "type": "Control",
          "scope": "#/properties/personalData"
        }
      ]
    }
  3. Delete any of the object elements

Expected behavior
Delete should not be offered on any of the object elements

Screenshots
DeleteOnObject

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions