Browse Source

Add custom modules to JS function arguments list

pull/8438/head
Chantsova Ekaterina 3 years ago
parent
commit
4058b9e468
  1. 2
      ui-ngx/src/app/modules/home/components/widget/action/custom-action-pretty-editor.component.html

2
ui-ngx/src/app/modules/home/components/widget/action/custom-action-pretty-editor.component.html

@ -51,7 +51,7 @@
[(ngModel)]="action.customFunction" [(ngModel)]="action.customFunction"
(ngModelChange)="onActionUpdated()" (ngModelChange)="onActionUpdated()"
[fillHeight]="true" [fillHeight]="true"
[functionArgs]="['$event', 'widgetContext', 'entityId', 'entityName', 'htmlTemplate', 'additionalParams', 'entityLabel']" [functionArgs]="['$event', 'widgetContext', 'entityId', 'entityName', 'htmlTemplate', 'additionalParams', 'entityLabel', 'customModules']"
[disableUndefinedCheck]="true" [disableUndefinedCheck]="true"
[validationArgs]="[]" [validationArgs]="[]"
[editorCompleter]="customPrettyActionEditorCompleter" [editorCompleter]="customPrettyActionEditorCompleter"

Loading…
Cancel
Save