@yesilyazilim/web.spa 1.1.31 → 1.1.32

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.
package/index.js CHANGED
@@ -6881,14 +6881,14 @@ let $ff47ee4c049939bf$export$72b9695b8216309a = class ComboBox extends (0, $b495
6881
6881
  return this._asyncValue !== undefined ? this._asyncValue : (_a = this._source.getValueById(this._listElm.selectedId)) === null || _a === void 0 ? void 0 : _a.key;
6882
6882
  }
6883
6883
  set value(key) {
6884
- if (this._loading || !this._connected || !this._loaded) {
6884
+ if (this._loading || !this._loaded) {
6885
6885
  this._asyncValue = key;
6886
6886
  return;
6887
6887
  }
6888
6888
  if (key) {
6889
6889
  const id = this._source.findId((i)=>i.key === key);
6890
6890
  this._listElm.selectedId = id;
6891
- } else if (this._connected) this._listElm.selectedId = null;
6891
+ } else this._listElm.selectedId = null;
6892
6892
  }
6893
6893
  _loadItemsAsync(loader, loaderParams = null) {
6894
6894
  return $ff47ee4c049939bf$var$__awaiter(this, void 0, void 0, function*() {
@@ -6903,7 +6903,7 @@ let $ff47ee4c049939bf$export$72b9695b8216309a = class ComboBox extends (0, $b495
6903
6903
  });
6904
6904
  }
6905
6905
  _trySetValue() {
6906
- if (this._asyncValue !== undefined && this._connected && !this._loading && this._loaded) {
6906
+ if (this._asyncValue !== undefined && !this._loading && this._loaded) {
6907
6907
  this.value = this._asyncValue;
6908
6908
  this._asyncValue = undefined;
6909
6909
  }