@acorex/components 1.3.84 → 1.3.85

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.
@@ -8700,10 +8700,10 @@
8700
8700
  ID: vId
8701
8701
  });
8702
8702
  });
8703
- var newId = lodash.differenceBy(addId_1, _this.selectedItems, 'ID');
8703
+ var newId = lodash.differenceBy(addId_1, _this.selectedItems, _this.valueField);
8704
8704
  var vv_1 = [];
8705
8705
  newId.forEach(function (rc) {
8706
- vv_1.push(rc['ID']);
8706
+ vv_1.push(rc[_this.valueField]);
8707
8707
  });
8708
8708
  _this.selectedItems.push(_this.items.filter(function (c) { return vv_1.includes(c[_this.valueField]); })[0]);
8709
8709
  _this.setSelectedItemsChange(_this.selectedItems);