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.
@@ -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
  }