No applicable renderer found

Using the schema found @ Basic Example - JSON Forms with an empty uischema results in “No applicable renderer found.” As per documentation UI Schemas are dynamically generated if not defined.

Is this a non supported feature but documented feature?

Code snippet from GitHub - eclipsesource/jsonforms-react-seed: React-based JSON Forms Seed App but modified with an empty schema:

import { JsonForms } from '@jsonforms/react';
import schema from './schema.json';
import {
  materialCells,
  materialRenderers,
} from '@jsonforms/material-renderers';
...
            <JsonForms
              schema={schema}
              uischema={{}}
              data={data}
              renderers={renderers}
              cells={materialCells}
              onChange={({ errors, data }) => setData(data)}
            />
...

The solution is to omit the uischema completely. Setting uischema={{}} to an empty object basically denotes an empty ui schema with no mappings.

Passing the empty object is questionable and I believe the API is working as expected.

1 Like

Yes that’s right. I think we at least always expect a type property for example