added input value as query in modal

This commit is contained in:
lotte
2019-12-23 15:36:39 +01:00
parent 2a686a2fc4
commit 11d3f33276
7 changed files with 16 additions and 10 deletions

View File

@@ -32,6 +32,8 @@ export abstract class FieldParser {
public abstract modelFactory(fieldValue?: FormFieldMetadataValueObject, label?: boolean): any;
public parse() {
console.log(this.configData);
if (((this.getInitValueCount() > 1 && !this.configData.repeatable) || (this.configData.repeatable))
&& (this.configData.input.type !== 'list')
&& (this.configData.input.type !== 'tag')
@@ -44,9 +46,8 @@ export abstract class FieldParser {
if (Array.isArray(this.configData.selectableMetadata) && this.configData.selectableMetadata.length === 1) {
metadataKey = this.configData.selectableMetadata[0].metadata;
};
}
console.log(this.getInitArrayIndex());
const config = {
id: uniqueId() + '_array',
label: this.configData.label,