62849: moving relation lookup from separate component to option for all input components

This commit is contained in:
lotte
2019-07-30 16:18:42 +02:00
parent 1f7b8b8210
commit 0749cbcc0f
22 changed files with 202 additions and 202 deletions

View File

@@ -27,7 +27,6 @@ export abstract class FieldParser {
&& (this.configData.input.type !== 'list')
&& (this.configData.input.type !== 'tag')
&& (this.configData.input.type !== 'group')
&& (this.configData.input.type !== 'lookup-relation')
) {
let arrayCounter = 0;
let fieldArrayCounter = 0;
@@ -186,6 +185,7 @@ export abstract class FieldParser {
controlModel.readOnly = this.parserOptions.readOnly;
controlModel.disabled = this.parserOptions.readOnly;
controlModel.workspaceItem = this.workspaceItem;
controlModel.relationship = this.configData.selectableRelationships;
// Set label
this.setLabel(controlModel, label, labelEmpty);