tnx-shared 5.1.486 → 5.1.487

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.
@@ -46447,7 +46447,8 @@
46447
46447
  AutoCompletePickerComponent.prototype.writeValue = function (obj) {
46448
46448
  var _this = this;
46449
46449
  this.hasValue = false;
46450
- this.getDataSelectedValue(obj)
46450
+ var value = !isLiteralObject(obj) ? obj : obj[this.control.valueField];
46451
+ this.getDataSelectedValue(value)
46451
46452
  .then(function (res) {
46452
46453
  _this.updateSelectedValue();
46453
46454
  _this.checkFireReady();
@@ -59634,7 +59635,7 @@
59634
59635
  };
59635
59636
  UserPickerComponent.prototype.writeValue = function (obj) {
59636
59637
  return __awaiter(this, void 0, void 0, function () {
59637
- var filters;
59638
+ var filters, value;
59638
59639
  var _this = this;
59639
59640
  return __generator(this, function (_b) {
59640
59641
  switch (_b.label) {
@@ -59669,7 +59670,8 @@
59669
59670
  case 3: return [3 /*break*/, 5];
59670
59671
  case 4:
59671
59672
  if (obj != null) {
59672
- this.controlPicker.baseService.getDataDropdownByFilter([this.newFilter(this.controlPicker.valueField, exports.Operator.equal, obj)], this.getDropdownOptions()).then(function (res) { return __awaiter(_this, void 0, void 0, function () {
59673
+ value = !isLiteralObject(obj) ? obj : obj[this.controlPicker.valueField];
59674
+ this.controlPicker.baseService.getDataDropdownByFilter([this.newFilter(this.controlPicker.valueField, exports.Operator.equal, value)], this.getDropdownOptions()).then(function (res) { return __awaiter(_this, void 0, void 0, function () {
59673
59675
  return __generator(this, function (_b) {
59674
59676
  switch (_b.label) {
59675
59677
  case 0: