-
Notifications
You must be signed in to change notification settings - Fork 391
Property with reference is not rendered #2187
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
Comments
Hi @KIC, The posted schema is invalid and/or incomplete. For example the I adjusted it to the following
Then I was able to reproduce the problem: The "parent" is not rendered. The error seems to be the same as reported here. As noted in the link, the problem is that the MaterialObjectRenderer does not hand over enough context to the UI Schema generator to successfully resolve the reference to the This needs to be fixed. Contributions welcome! |
Previously, UI schemas generated in the Material object renderer were incomplete because not all refs could be resolved. Closes eclipsesource#2187
Previously, UI schemas generated by JsonForms were incomplete in many instances because not all references were resolved. This commit addresses the issue by providing the root schema to all usages of the Generate.uischema function, ensuring the resolution of all references. Closes eclipsesource#2187
Previously, UI schemas generated by JsonForms were incomplete in many instances because not all references were resolved. This commit addresses the issue by providing the root schema to all usages of the Generate.uischema function, ensuring the resolution of all references. Closes #2187
Describe the bug
While the address renders fine, given the json schema below, the parent does not render at all.
As soon as I turn the
parent
into an array field just like theaddress
it renders fine again (but of course is an array which is not what I need).Expected behavior
Render the Sub-Form for the
parent
object like for array fieldsSteps to reproduce the issue
Render form using the jsonschema above und leave the uischema undiefined.
Screenshots
No response
In which browser are you experiencing the issue?
Google Chrome
Which Version of JSON Forms are you using?
3.1.0
Framework
React
RendererSet
Material
Additional context
No response
The text was updated successfully, but these errors were encountered: