mmhglobal-dynamicform 2.0.2 → 2.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -1
- package/esm2020/lib/zudf/zudf.component.mjs +9 -1
- package/fesm2015/mmhglobal-dynamicform.mjs +8 -0
- package/fesm2015/mmhglobal-dynamicform.mjs.map +1 -1
- package/fesm2020/mmhglobal-dynamicform.mjs +8 -0
- package/fesm2020/mmhglobal-dynamicform.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -12272,6 +12272,10 @@ class ZudfComponent {
|
|
|
12272
12272
|
// Field is not inside a container, so we skip it
|
|
12273
12273
|
return;
|
|
12274
12274
|
}
|
|
12275
|
+
// no mvglist, direct return. dont need do anything.
|
|
12276
|
+
if (!this.group['mvglist']) {
|
|
12277
|
+
return;
|
|
12278
|
+
}
|
|
12275
12279
|
// if container but not multi value group = true, we skip it.
|
|
12276
12280
|
const container = [controlNameSegments[0], controlNameSegments[1], controlNameSegments[2]].join('_');
|
|
12277
12281
|
if (!this.group['mvglist'].includes(container)) {
|
|
@@ -12282,6 +12286,10 @@ class ZudfComponent {
|
|
|
12282
12286
|
// If the control is not inside a container, skip it.
|
|
12283
12287
|
return;
|
|
12284
12288
|
}
|
|
12289
|
+
// return if formcontrol is valid.
|
|
12290
|
+
if (control.status === 'VALID') {
|
|
12291
|
+
return;
|
|
12292
|
+
}
|
|
12285
12293
|
const controlErrors = control.errors;
|
|
12286
12294
|
if (controlErrors) {
|
|
12287
12295
|
// Set the control's errors to null.
|