ps-toolkit-ui 1.8.38 → 1.8.39

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.
@@ -6002,13 +6002,16 @@
6002
6002
  }
6003
6003
  };
6004
6004
  FormTextboxComponent.prototype.onFocusIn = function (changeIndex) {
6005
+ var _this = this;
6005
6006
  if (changeIndex === void 0) { changeIndex = false; }
6006
- if (changeIndex) {
6007
- this.inputBase.nativeElement.select();
6008
- }
6009
- else {
6010
- this.inputBase.nativeElement.focus();
6011
- }
6007
+ setTimeout(function () {
6008
+ if (changeIndex) {
6009
+ _this.inputBase.nativeElement.select();
6010
+ }
6011
+ else {
6012
+ _this.inputBase.nativeElement.focus();
6013
+ }
6014
+ });
6012
6015
  };
6013
6016
  FormTextboxComponent.prototype.onFocusOut = function (e) {
6014
6017
  if (this.inp.onFocusOut !== null) {
@@ -7043,6 +7046,9 @@
7043
7046
  this.onFocusIn();
7044
7047
  };
7045
7048
  FormVehicleComponent.prototype.onFocusIn = function () {
7049
+ setTimeout(function () {
7050
+ $('#Part1TextInput .control').focus();
7051
+ }, 100);
7046
7052
  };
7047
7053
  return FormVehicleComponent;
7048
7054
  }());