Hi Team,
We have created our own event dialog which we are opening in the "beforeEventEdit" listener after checking some conditions. We are able to open it and able to create and edit events.
But we are facing one problem:
1) Default calendar event editor is also opening. We don't want to open the default eventeditor.
To use the custom event editor, we have also tried to configure the editor config. but we are getting error.
eventEdit = {
editorConfig: {
type: 'myCustomEditorType'
}
}
and error is
ERROR Error: Uncaught (in promise): Error: Invalid type name "myCustomEditorType" passed to _0x5edf42 factory
Error: Invalid type name "myCustomEditorType" passed to _0x5edf42 factory
at Function._0x1309bd (calendar.lite.umd.js:10)
at Function._0x190901 (calendar.lite.umd.js:10)
at Function._0x56471b (calendar.lite.umd.js:10)
at _0x46fdd4._0x3955c6 (calendar.lite.umd.js:10)
at _0x46fdd4._0x177f2a (calendar.lite.umd.js:10)
at _0x46fdd4._0x5b2346 (calendar.lite.umd.js:10)
at _0x46fdd4._0xf93a34 (calendar.lite.umd.js:10)
at _0x4bb5e6 (calendar.lite.umd.js:10)
at Generator._0x3e1059 [as _invoke] (calendar.lite.umd.js:10)
at Generator.next (calendar.lite.umd.js:10)
at resolvePromise (zone-evergreen.js:798)
at zone-evergreen.js:705
at _0x22e366 (calendar.lite.umd.js:10)
at _0x2fd5c2 (calendar.lite.umd.js:10)
at calendar.lite.umd.js:10
at new ZoneAwarePromise (zone-evergreen.js:960)
at _0x46fdd4.<anonymous> (calendar.lite.umd.js:10)
at _0x46fdd4._0x376ab6 (calendar.lite.umd.js:10)
at _0x46fdd4._0x24d3ef (calendar.lite.umd.js:10)
at _0x46fdd4._0x481a0e (calendar.lite.umd.js:10)
but we don't want to use default event editor because we are using Angular material dialog.