Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
AndreyWirz opened this issue Jul 22, 2024 · 1 comment

Comments

@AndreyWirz
Copy link

AndreyWirz commented Jul 22, 2024

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
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants