@dsivd/prestations-ng 15.2.3-beta13 → 15.2.3-beta14

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.
@@ -6705,10 +6705,11 @@ class FoehnInputNumberComponent extends FoehnInputStringComponent {
6705
6705
  }
6706
6706
  }
6707
6707
  else {
6708
+ const noCommaString = this.replaceCommaWithDot(value);
6708
6709
  cleanNumber =
6709
- value && typeof value === 'string'
6710
- ? value.replace(CLEAN_NEGATIVE_AND_DECIMAL_NUMBERS_PATTERN, '')
6711
- : value;
6710
+ noCommaString && typeof noCommaString === 'string'
6711
+ ? noCommaString.replace(CLEAN_NEGATIVE_AND_DECIMAL_NUMBERS_PATTERN, '')
6712
+ : noCommaString;
6712
6713
  }
6713
6714
  super.updateNgModel(cleanNumber);
6714
6715
  // Need to update HTML input value because we let user input what he wants and then we clean model