Allow projectId in autocomplete to be empty

pull/6346/head
Oliver Günther 6 years ago
parent 6f1b830b77
commit 47948d96f8
No known key found for this signature in database
GPG Key ID: 88872239EB414F99
  1. 2
      frontend/src/app/modules/fields/edit/field-types/formattable-textarea-edit-field.component.ts

@ -40,7 +40,7 @@ import {ExpressionService} from "../../../../../../common/expression.service";
style="min-height: 114px"
#textAreaField
op-auto-complete
[opAutoCompleteProjectId]="handler.project.idFromLink"
[opAutoCompleteProjectId]="handler.project && handler.project.idFromLink"
class="focus-input wp-inline-edit--field inplace-edit--textarea -animated"
name="value"
[hidden]="field.isPreview"

Loading…
Cancel
Save