@apipass/inputs 0.2.5-alpha.24 → 0.2.5-alpha.25

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.
@@ -1309,9 +1309,12 @@
1309
1309
  if (this.selectProperty) {
1310
1310
  this.selectedItem = (_a = this.data) === null || _a === void 0 ? void 0 : _a.find(function (el) { return el[_this.bindKey] === value; });
1311
1311
  }
1312
- else {
1312
+ else if (value) {
1313
1313
  this.selectedItem = (_b = this.data) === null || _b === void 0 ? void 0 : _b.find(function (el) { return el[_this.bindKey] === value[_this.bindKey]; });
1314
1314
  }
1315
+ else {
1316
+ this.selectedItem = null;
1317
+ }
1315
1318
  };
1316
1319
  return SelectBoxComponent;
1317
1320
  }(ValueAccessorBase));