commit with extra wrapper component

This commit is contained in:
lotte
2019-12-06 09:17:08 +01:00
parent 69d58c0881
commit 28a0654d20
12 changed files with 295 additions and 190 deletions

View File

@@ -85,7 +85,7 @@ export abstract class FieldParser {
} else {
const model = this.modelFactory(this.getInitFieldValue());
if (model.hasLanguages || isNotEmpty(model.relationship)) {
if (model.hasLanguages) {
setLayout(model, 'grid', 'control', 'col');
}
return model;
@@ -247,7 +247,6 @@ export abstract class FieldParser {
{},
controlModel.errorMessages,
{ pattern: 'error.validation.pattern' });
}
protected markAsRequired(controlModel) {
@@ -320,7 +319,6 @@ export abstract class FieldParser {
}
}
}
return modelConfig;
}