rd-outer-component 0.0.48 → 0.0.49
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/modules/custom-input-amount/custom-input-amount.component.mjs +3 -1
- package/fesm2015/rd-outer-component.mjs +3 -1
- package/fesm2015/rd-outer-component.mjs.map +1 -1
- package/fesm2020/rd-outer-component.mjs +2 -0
- package/fesm2020/rd-outer-component.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -713,6 +713,8 @@ class CustomInputAmountComponent {
|
|
|
713
713
|
return (msg || `${this.label} cannot exceed ${formatBigNumber(this.max)}`);
|
|
714
714
|
case 'precision':
|
|
715
715
|
return msg || `Maximum decimal places is ${this.nzPrecision}`;
|
|
716
|
+
case 'custom':
|
|
717
|
+
return this.control?.errors['custom'] || 'Validation failed';
|
|
716
718
|
default:
|
|
717
719
|
return msg || 'Validation failed';
|
|
718
720
|
}
|