ps-toolkit-ui 1.22.18 → 1.22.20

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.
@@ -6974,8 +6974,13 @@
6974
6974
  d[_this.inp.name + 'Name'] = _this.inp.getSelectedName();
6975
6975
  return d;
6976
6976
  }
6977
- d[_this.inp.name] = _this.inp.addNew ? _this.inp.search : _this.inp.value;
6977
+ d[_this.inp.name] = _this.inp.value;
6978
6978
  d[_this.inp.name + 'Name'] = _this.inp.search;
6979
+ if (_this.inp.addNew) {
6980
+ d[_this.inp.name] = _this.inp.search;
6981
+ d[_this.inp.name + 'Name'] = _this.inp.search;
6982
+ d[_this.inp.name + 'Id'] = _this.inp.value;
6983
+ }
6979
6984
  return d;
6980
6985
  };
6981
6986
  this.inp.focusOut = function () {