@fluxhub/fluxhub-lib 9.0.44 → 9.0.46

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.
@@ -1066,7 +1066,7 @@
1066
1066
  if (typeof (this.value) == "string")
1067
1067
  this.value = this.params.value;
1068
1068
  else
1069
- this.value = '' + this.params.value;
1069
+ this.value = this.uti_s.format_currency(this.params.value);
1070
1070
  // console.log('numeric editore: agInit');
1071
1071
  // only start edit if key pressed is a number, not a letter
1072
1072
  // this.input.element.nativeElement.select();
@@ -1123,7 +1123,10 @@
1123
1123
  setTimeout(function () {
1124
1124
  //console.log(this.input.element.nativeElement);
1125
1125
  // this.input.first.nativeElement.focus();
1126
- _this.input.element.nativeElement.focus();
1126
+ if (_this.input != null)
1127
+ if (_this.input.element != null)
1128
+ if (_this.input.element.nativeElement != null)
1129
+ _this.input.element.nativeElement.focus();
1127
1130
  });
1128
1131
  // this.input.element.nativeElement.setSelectionRange(0, this.input.element.nativeElement.value.length)
1129
1132
  /*if (this.input.nativeElement.classList.contains('ng-untouched')) {