Skip to content

Render conditional properties defined in if #2262

Open
@buremba

Description

@buremba

Is your feature request related to a problem? Please describe.

For the following JSON Schema, it would be great if JsonForms could render the elements dynamically given schema:

type: object
if: 
  properties: 
    type: 
      const: CSV 
then: 
  properties:
    record_delimiter:
      default: "\n"
      type: string

Describe the solution you'd like

Render elements when the field matches given value

Describe alternatives you've considered

Move definition to upper level and use required in if or use custom uischema to render schema on the fly.

Framework

React

RendererSet

Material

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions