@telcomdev/ui 0.1.20 → 0.1.21

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.
@@ -3693,6 +3693,8 @@ class TdInput {
3693
3693
  return this.hasSupportingContent() ? `${this.inputId}-description` : null;
3694
3694
  }
3695
3695
  get resolvedType() {
3696
+ if (this.isDecimalMask())
3697
+ return 'text';
3696
3698
  return this.type === 'password' && this.passwordVisible ? 'text' : this.type;
3697
3699
  }
3698
3700
  onChange = () => undefined;
@@ -3759,7 +3761,7 @@ class TdInput {
3759
3761
  if (!value) {
3760
3762
  return this.resolveEmptyValue();
3761
3763
  }
3762
- if (this.type !== 'number' || !this.formBridge.usesSignalForms) {
3764
+ if (this.isDecimalMask() || this.type !== 'number' || !this.formBridge.usesSignalForms) {
3763
3765
  return value;
3764
3766
  }
3765
3767
  const numericValue = inputElement.valueAsNumber;