You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am running into the issue of the JSONEditor being very very slow. My application works by clicking on an item in a list, and the JSONEditor populates with the selected JSON. I believe I have narrowed it down to the JSONEditor and will provide how I am declaring the items below. I am using this in Angular 7.
Declaration:
`public editorList: any[] = [];
public editorOptions: JsonEditorOptions;
public data: any; @ViewChild(JsonEditorComponent) editor: JsonEditorComponent;
constructor() {
this.editorOptions = new JsonEditorOptions();
this.editorOptions.mode = 'code';
} Use where data is a json object
<json-editor style="background-color: white;" [options]="editorOptions" [data]="data">
`
I have checked and confirmed that this is not a network issue. Once the data is loaded into the editor it takes nearly 5 seconds for the cursor to appear on a clicked line of code. Any help would be great.
Thanks.
The text was updated successfully, but these errors were encountered:
Hello All,
I am running into the issue of the JSONEditor being very very slow. My application works by clicking on an item in a list, and the JSONEditor populates with the selected JSON. I believe I have narrowed it down to the JSONEditor and will provide how I am declaring the items below. I am using this in Angular 7.
Declaration:
`public editorList: any[] = [];
public editorOptions: JsonEditorOptions;
public data: any;
@ViewChild(JsonEditorComponent) editor: JsonEditorComponent;
constructor() {
this.editorOptions = new JsonEditorOptions();
this.editorOptions.mode = 'code';
}
Use where data is a json object
<json-editor style="background-color: white;" [options]="editorOptions" [data]="data">
`
I have checked and confirmed that this is not a network issue. Once the data is loaded into the editor it takes nearly 5 seconds for the cursor to appear on a clicked line of code. Any help would be great.
Thanks.
The text was updated successfully, but these errors were encountered: