fix adding of metadata only fields, and styling

This commit is contained in:
Art Lowel
2020-02-25 17:01:44 +01:00
parent 644dcf8ce6
commit a8d5ad9c37
11 changed files with 118 additions and 89 deletions

View File

@@ -80,6 +80,9 @@ export abstract class FieldParser {
model = this.modelFactory(fieldValue, false);
if (!isFirstModelInArray) {
model.hint = undefined;
if (Array.isArray(model.group)) {
model.group.forEach((group) => group.hint = undefined);
}
}
}
setLayout(model, 'element', 'host', 'col');