Is it possible to return schema and UI schema updated from onChange?
Hi @TannicArturo98,
the schema
and uischema
do not change during the lifetime of the form. Therefore there is no need to hand them out via onChange
.
If you don’t hand over the schema and ui schema to the form and let them autogenerate, then you can do this also manually. For this there is
import { Generate } from `@jsonforms/core`.
const schema = Generate.schema(data);
const uischema = Generate.uiSchema(schema);
1 Like