ng-inail-common 1.0.435 → 1.0.438

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.
@@ -10122,8 +10122,13 @@
10122
10122
  function () {
10123
10123
  if (this.numberValue != undefined) {
10124
10124
  /** @type {?} */
10125
- var nextInputValue = ("" + this.numberValue).replace(DOT_REGEX, ',');
10126
- if (!this.hasFocus()) {
10125
+ var nextInputValue = void 0;
10126
+ // Eseguito durante la digitazione
10127
+ if (this.hasFocus()) {
10128
+ nextInputValue = ("" + this.inputValue).replace(DOT_REGEX, ',');
10129
+ }
10130
+ else {
10131
+ nextInputValue = ("" + this.numberValue).replace(DOT_REGEX, ',');
10127
10132
  /** @type {?} */
10128
10133
  var a = nextInputValue.split(',');
10129
10134
  if (this.showThousandsSeparator) {