Hello!! My UI schema has title and header fields that need to render different content based on different “things”. It may need to be based off a value in the data schema, but it may need to come from a CMS. Any way to make this flexible without creating different UI schema for every scenario?
Hi @themattmayfield,
You can implement a custom renderer for these use cases. As they have full control over their rendering, they can retrieve the data from wherever you need, e.g. from the JSON Schema, the data
, or some async fetch call to an API.
@sdirix Oh wow of course! Thanks!!!
@themattmayfield not sure exactly about the use case that you but if you are using vuetify renderer set then you can add additional renderers jsonforms-vuetify-webcomponent/packages/jsonforms-vuetify-renderers at master · kchobantonov/jsonforms-vuetify-webcomponent · GitHub like the TemplateLayout renderer that can do that - here is and example that shows that with Vue3 application integrated with those additional renderers as well as a webcomponent version if you want to use that.