@fluxhub/fluxhub-lib 10.0.487 → 10.0.488

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.
@@ -9509,6 +9509,7 @@
9509
9509
  this.onTouched = function () { };
9510
9510
  this.formattedAmount = "0,00";
9511
9511
  this.value = 0.0;
9512
+ this.b_already_f = false;
9512
9513
  }
9513
9514
  FHNumericFieldComponent.prototype.keyDownFunctioncl = function (event) {
9514
9515
  //console.log(event);
@@ -9590,11 +9591,18 @@
9590
9591
  FHNumericFieldComponent.prototype.click_select_allf = function (element) {
9591
9592
  var _this = this;
9592
9593
  setTimeout(function () {
9593
- _this.el.nativeElement.select();
9594
+ if (!_this.b_already_f)
9595
+ _this.el.nativeElement.select();
9596
+ _this.b_already_f = true;
9597
+ setTimeout(function () { _this.b_already_f = false; }, 1000);
9594
9598
  }, 200);
9595
9599
  };
9596
9600
  FHNumericFieldComponent.prototype.select_allf = function (element) {
9597
- this.el.nativeElement.select();
9601
+ var _this = this;
9602
+ if (!this.b_already_f)
9603
+ this.el.nativeElement.select();
9604
+ this.b_already_f = true;
9605
+ setTimeout(function () { _this.b_already_f = false; }, 1000);
9598
9606
  };
9599
9607
  FHNumericFieldComponent.prototype.setFocus = function () {
9600
9608
  this.el.nativeElement.focus();