eclipsesource / jsonforms

Customizable JSON Schema-based forms with React, Angular and Vue support out of the box.
http://jsonforms.io
Other
2.12k stars 359 forks source link

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

Open AndreyWirz opened 1 month ago

AndreyWirz commented 1 month ago

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

lucas-koehler commented 1 month ago

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