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
Expected behavior
I have initialized editor, editor options. And I need path of the selected tree node. For it, I have added editor options onSelectionChange method. But callback is not getting triggered. Any idea why callbacks not getting triggered
I have added editor as viewChild. @ViewChild('editor', { static: false }) editor: JsonEditorComponent;
And initialized JSONEditor Options as
editorOptions: JsonEditorOptions = new JsonEditorOptions();
All others features working as expected but callback is not getting triggered. Could you help me on this.
The text was updated successfully, but these errors were encountered:
Describe the bug
JSON Editor Options onSelectionChange() callback not getting called (Triggered)
To Reproduce
this.editorOptions.onSelectionChange = () => {
console.log("selection change called");
}
Expected behavior
I have initialized editor, editor options. And I need path of the selected tree node. For it, I have added editor options onSelectionChange method. But callback is not getting triggered. Any idea why callbacks not getting triggered
I have added editor as viewChild.
@ViewChild('editor', { static: false }) editor: JsonEditorComponent;
And initialized JSONEditor Options as
editorOptions: JsonEditorOptions = new JsonEditorOptions();
All others features working as expected but callback is not getting triggered. Could you help me on this.
The text was updated successfully, but these errors were encountered: