Open benrebak opened 4 years ago
I can avoid this by changing [schema]="null"
to [schema]="mySchema"
, adding *ngIf="mySchema != null"
to the <json-schema-form />
component. But if I do this, then the styling from Bootstrap isn't applied until I enable the form (by setting the value of mySchema
). This means the look and feel of the page changes completely when I select a schema, including text resizing
This can be reliably reproduced on https://hamidihamza.com/ajsf/ by setting framework to Bootstrap 4, and setting Input JSON Schema and Form Layout to:
{
"schema": {
}
}
Workaround is that the schema must be defined as:
mySchema = {
type: 'object',
properties: {}
}
@hamzahamidi
Stale issue
My console fills up with thousands of error messages with the type error mentioned in the title.
which template:
To Reproduce Steps to reproduce the behavior:
As far as I'm aware, all that's required in order to reproduce it is the following:
Expected behavior No errors
Screenshots
Desktop (please complete the following information):