Json-schema form

Hey I'm building an app and using 3 json-schema forms.

My schema is complex and has 3 nesting levels.
each form shows one level. Is there a way to get one component to reference a schema in another ? or any other way to prevent code duplication?

Hey @royroy! This is definitely possible with native Retool forms, but I don’t think this is possible with the JSON schema form. I’ll poke around with it to make sure though!

1 Like

Quick question. Do you already know how to prevent code duplication within a JSON schema form?

For the Retool portion, you can access the input data like {{ jsonschemaform2.data.username }}

Then you can use this anywhere in your JSON schema forms!

Ohh great idea.

Yeah,within a json schema I use $ref for that.