-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
Hey,
I am using your wrapper in my project. Everything works fine but I can't call a function like you do in your example. This is my code:
<div *ngIf="editorShown">
<json-editor [(ngModel)]="signatureContent"
jsonModal #editorModal="json-modal"
[config]="editorConfig"
(change)="onEditorChange()">
</json-editor>
</div>
<button (click)="editorModal.get()" class="btn btn-primary" type="button">get</button>
It throws the following error:
TypeError: t.component.editorModal is undefined
I want to use the get()-function because I have a json-schema to validate the content.
Metadata
Metadata
Assignees
Labels
No labels