mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-09 19:13:08 +00:00
updated with latest changes
This commit is contained in:
@@ -162,12 +162,13 @@ export class FormBuilderService extends DynamicFormService {
|
||||
Object.keys(groupValue)
|
||||
.forEach((key) => {
|
||||
const normValue = normalizeValue(controlModel, groupValue[key], groupIndex);
|
||||
if (iterateResult.hasOwnProperty(key)) {
|
||||
iterateResult[key].push(normValue);
|
||||
} else {
|
||||
iterateResult[key] = [normValue];
|
||||
if (normValue.hasValue()) {
|
||||
if (iterateResult.hasOwnProperty(key)) {
|
||||
iterateResult[key].push(normValue);
|
||||
} else {
|
||||
iterateResult[key] = [normValue];
|
||||
}
|
||||
}
|
||||
// newGroupValue[key] = normalizeValue(controlModel, groupValue[key], groupIndex);
|
||||
});
|
||||
// controlArrayValue.push(newGroupValue);
|
||||
})
|
||||
|
Reference in New Issue
Block a user