@recursyve/nice-ui-kit.v2 14.0.0-beta.130 → 14.0.0-beta.132
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
|
@@ -5420,6 +5420,18 @@ class NiceControlStatusDirective {
|
|
|
5420
5420
|
actual: this.control.errors[error].actual
|
|
5421
5421
|
};
|
|
5422
5422
|
}
|
|
5423
|
+
if (error === "arrayMinLength") {
|
|
5424
|
+
param = {
|
|
5425
|
+
min: this.control.errors[error].min,
|
|
5426
|
+
actual: this.control.errors[error].actual
|
|
5427
|
+
};
|
|
5428
|
+
}
|
|
5429
|
+
if (error === "arrayMaxLength") {
|
|
5430
|
+
param = {
|
|
5431
|
+
max: this.control.errors[error].max,
|
|
5432
|
+
actual: this.control.errors[error].actual
|
|
5433
|
+
};
|
|
5434
|
+
}
|
|
5423
5435
|
if (typeof this.control.errors[error] === "object" && !param) {
|
|
5424
5436
|
param = this.control.errors[error];
|
|
5425
5437
|
}
|