jsonforms icon indicating copy to clipboard operation
jsonforms copied to clipboard

Rendering of layouts with mixed schema properties(additionalProperties and properties)

Open AndreyWirz opened this issue 1 year ago • 1 comments

Hello! we have a Problem with the rendering of the elements.

we have such structure of the schema:

image

For the renderers we use ObjectList Element to render the list with scope: #/properties/adserver/properties

than rendering of the elements of the first level (using type Control) with scope: #/properties/...

the second level of the properties inside config block also using type 'Control' with scope: #/properties/config/properties/...

in this case we get an error 'No applicable renderer found!' image

to fix this we render the list with scope: #/properties/adserver/additionalProperties and we have added "additionalProperties" to the schema: image

Expected behavior

elements should be rendered

Steps to reproduce the issue

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Screenshots

No response

Which Version of JSON Forms are you using?

v3.3.0

Framework

Angular

RendererSet

Material

Additional context

The questions:

  1. Is this an error in JsonForms?
  2. Is something wrong in our code?
  3. Were our fixes in scope and schema right?

Best Regards, Andrey

AndreyWirz avatar Jul 22 '24 16:07 AndreyWirz

Hi @AndreyWirz , could you also post an excerpt of your UI Schema, please? That makes it easier to judge what exactly goes wrong.

lucas-koehler avatar Aug 06 '24 12:08 lucas-koehler