@recursyve/nice-ui-kit.v2 14.0.0-beta.131 → 14.0.0-beta.133
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/esm2020/lib/components/form-error/control-status.directive.mjs +13 -1
- package/fesm2015/recursyve-nice-ui-kit.v2.mjs +12 -0
- package/fesm2015/recursyve-nice-ui-kit.v2.mjs.map +1 -1
- package/fesm2020/recursyve-nice-ui-kit.v2.mjs +12 -0
- package/fesm2020/recursyve-nice-ui-kit.v2.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -5441,6 +5441,18 @@ class NiceControlStatusDirective {
|
|
|
5441
5441
|
actual: this.control.errors[error].actual
|
|
5442
5442
|
};
|
|
5443
5443
|
}
|
|
5444
|
+
if (error === "arrayMinLength") {
|
|
5445
|
+
param = {
|
|
5446
|
+
min: this.control.errors[error].min,
|
|
5447
|
+
actual: this.control.errors[error].actual
|
|
5448
|
+
};
|
|
5449
|
+
}
|
|
5450
|
+
if (error === "arrayMaxLength") {
|
|
5451
|
+
param = {
|
|
5452
|
+
max: this.control.errors[error].max,
|
|
5453
|
+
actual: this.control.errors[error].actual
|
|
5454
|
+
};
|
|
5455
|
+
}
|
|
5444
5456
|
if (typeof this.control.errors[error] === "object" && !param) {
|
|
5445
5457
|
param = this.control.errors[error];
|
|
5446
5458
|
}
|