mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-08 10:34:15 +00:00
fix issues with repeatable fields
This commit is contained in:
@@ -78,12 +78,7 @@ 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);
|
||||
}
|
||||
}
|
||||
model.id = `${model.id}_${fieldArrayCounter}`;
|
||||
}
|
||||
setLayout(model, 'element', 'host', 'col');
|
||||
if (model.hasLanguages || isNotEmpty(model.relationship)) {
|
||||
|
Reference in New Issue
Block a user