ps-toolkit-ui 1.8.61 → 1.8.62

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.
@@ -5343,9 +5343,10 @@
5343
5343
  this.inp.data = function () {
5344
5344
  var d = {};
5345
5345
  console.log(_this.inp, '##');
5346
- d[_this.inp.name] = _this.inp.value;
5346
+ d[_this.inp.name] = _this.inp.addNew ? _this.inp.search : _this.inp.value;
5347
5347
  d[_this.inp.name + 'Name'] = _this.inp.search;
5348
- return !_this.inp.multiple ? (_this.inp.addNew ? _this.inp.search : _this.inp.value) : _this.getSelected();
5348
+ console.log(d, '##');
5349
+ return !_this.inp.multiple ? d : _this.getSelected();
5349
5350
  };
5350
5351
  this.inp.focusOut = function () {
5351
5352
  $__namespace(_this.inputBase.nativeElement).blur();