mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-08 02:24:11 +00:00
Added support for regex validation
This commit is contained in:
@@ -156,7 +156,7 @@ export class FormBuilderService extends DynamicFormService {
|
||||
Object.keys(groupValue)
|
||||
.forEach((key) => {
|
||||
const normValue = normalizeValue(controlModel, groupValue[key], groupIndex);
|
||||
if (normValue.hasValue()) {
|
||||
if (isNotEmpty(normValue) && normValue.hasValue()) {
|
||||
if (iterateResult.hasOwnProperty(key)) {
|
||||
iterateResult[key].push(normValue);
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user