Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

this.onTouched is not a function #96

Open
mohit-aicg opened this issue Apr 21, 2022 · 0 comments
Open

this.onTouched is not a function #96

mohit-aicg opened this issue Apr 21, 2022 · 0 comments

Comments

@mohit-aicg
Copy link

using "@angular/core": "^12.2.11"

editorOptions: Object = {theme: 'vs', language: 'sql'}

When I am pasting the SQL code in the editor it throws below error..

`core.js:6486 ERROR Error: this.onTouched is not a function

TypeError: this.onTouched is not a function
at materia-ui-ngx-monaco-editor.js:225:1
at C.fire (event.ts:568:16)
at U.setValue (codeEditorWidget.ts:1658:29)
at codeEditorWidget.ts:1446:28
at C.fire (event.ts:568:16)
at M._emitOugoingEvents (viewModelEventDispatcher.ts:62:18)
at M.emitOutgoingEvent (viewModelEventDispatcher.ts:38:8)
at w.setHasFocus (viewModelImpl.ts:184:25)
at textAreaHandler.ts:329:24
at C.fire (event.ts:568:16)
at errors.ts:19:12
at timer (zone.js:3083:1)
at ZoneDelegate.invokeTask (zone.js:434:1)
at Object.onInvokeTask (core.js:28667:1)
at ZoneDelegate.invokeTask (zone.js:433:1)
at Zone.runTask (zone.js:205:1)
at ZoneTask.invokeTask (zone.js:516:1)
at ZoneTask.invoke (zone.js:505:1)
at data.args. (zone.js:3063:1)`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant