@tetacom/ng-components 1.0.82 → 1.0.85

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.
@@ -2865,7 +2865,7 @@ class OnlyNumberDirective {
2865
2865
  return;
2866
2866
  }
2867
2867
  const valid = new RegExp(regex).test(value.toString());
2868
- if (value.toString() !== parseFloat(value).toString()) {
2868
+ if (valid && value.toString() !== this._control.control.value.toString()) {
2869
2869
  this._control.control.patchValue(parseFloat(value));
2870
2870
  }
2871
2871
  }