@telcomdev/ui 0.1.18 → 0.1.19

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.
@@ -3826,7 +3826,7 @@ class TdInput {
3826
3826
  const maxDigits = integerLimit && integerLimit > 0
3827
3827
  ? integerLimit + scale
3828
3828
  : null;
3829
- const digits = this.limitDigits(value.replace(/\D/g, '').replace(/^0+(?=\d)/, ''), maxDigits);
3829
+ const digits = this.limitDigits(value.replace(/\D/g, ''), maxDigits);
3830
3830
  if (!digits)
3831
3831
  return '';
3832
3832
  if (scale === 0)