eclipsesource / eclipsesource/jsonforms

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

Open
#2,357 1 comment 0 reactions 0 assignees View on GitHub
more information required
Dominant language
TypeScript
Stars
2.7k
Forks
424
Avg merge
17d 8h
Merged PRs (30d)
1

Description

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

we have such structure of the schema:

![image](https://github.com/user-attachments/assets/f5b8c0df-dcce-4249-a465-88cc544b0e20)

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](https://github.com/user-attachments/assets/52b0b0ce-64da-4aee-a994-992de957c882)

to fix this we render the list with scope: #/properties/adserver/additionalProperties
and we have added "additionalProperties" to the schema:
![image](https://github.com/user-attachments/assets/147d8abe-c25b-41d6-bc44-23345d9fcb13)

### 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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.