I am attempting to use JSONforms in angular and I am experiencing an issue in binding the <jsonforms>
properties in the html template with the JSONForms module. Each property ( schema, uischema, data, renderers, ajv) throws the error:
error NG8002: Can't bind to '<property>' since it isn't a known property of 'jsonforms'
I have ensured that the modules are imported in app.module.ts
unless implementation details have changed since the development of the angular-seed project:
import { JsonFormsModule } from '@jsonforms/angular';
import { JsonFormsAngularMaterialModule } from '@jsonforms/angular-material';
imports: [
...,
JsonFormsModule,
JsonFormsAngularMaterialModule,
]
I cannot post my schema, UI schema, or data, but I had the same issue just cloning the angular-seed repository and running it out of the box so I don’t think it’s an issue with my implementation. The schema is very basic, uses no custom renderers and is laid out very similar to the angular-seed project in the app’s component.ts
file.
Versions are as follows:
“@angular/core”: “^15.0.1”,
“@angular/forms”: “^15.0.0”,
“@angular/material”: “^15.0.0”,
“@jsonforms/angular”: “^3.2.1”,
“@jsonforms/angular-material”: “^3.2.1”,
“@jsonforms/core”: “^3.2.1”
I had some conflicts when installing @jsonforms/angular@3.2.1 with @angular/core@“15.0.0”, but again, I had this exact same issue with just the out-of-the-box angular-seed project.
Am I missing some implementation detail or something? Hopefully I didn’t just miss something obvious. Any recommendations would be appreciated.