@fluxhub/fluxhub-lib 9.0.45 → 9.0.47

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.
@@ -216,7 +216,10 @@
216
216
  CheckboxEditorComponent.prototype.ngAfterViewInit = function () {
217
217
  var _this = this;
218
218
  setTimeout(function () {
219
- _this.input.element.nativeElement.focus();
219
+ if (_this.input != null)
220
+ if (_this.input.element != null)
221
+ if (_this.input.element.nativeElement != null)
222
+ _this.input.element.nativeElement.focus();
220
223
  });
221
224
  };
222
225
  __decorate([
@@ -1123,7 +1126,10 @@
1123
1126
  setTimeout(function () {
1124
1127
  //console.log(this.input.element.nativeElement);
1125
1128
  // this.input.first.nativeElement.focus();
1126
- _this.input.element.nativeElement.focus();
1129
+ if (_this.input != null)
1130
+ if (_this.input.element != null)
1131
+ if (_this.input.element.nativeElement != null)
1132
+ _this.input.element.nativeElement.focus();
1127
1133
  });
1128
1134
  // this.input.element.nativeElement.setSelectionRange(0, this.input.element.nativeElement.value.length)
1129
1135
  /*if (this.input.nativeElement.classList.contains('ng-untouched')) {