Different JSON form representations for the same data #157
Unanswered
agonzalezgaliana
asked this question in
Theia Tree Editor
Replies: 1 comment 6 replies
-
Hi @agonzalezgaliana , Can you paste your schema and your data? Best, |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all,
We're working with the theia-tree-editor component. Our model-service class returns the different information to be used by JSON forms in order to show the details:
During testing, we've found out that JSON forms shows the details with different layouting (even UI elements) depending on the information returned by the model-service.
The following is rendered when:
undefined
However if the JSON schema returned is
undefined
, a table is rendered:Can someone explain what's the reason for this behavior? I guess that JSON forms uses a different UI because the absence or presence of the schema.
Also because of this behavior, the add button triggers the
handleFormUpdate
method of the tree widget in one case (table case) and not in the other.Any explanations to this?
Many thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions