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.
- package/bundles/ps-toolkit-ui.umd.js +3 -2
- package/bundles/ps-toolkit-ui.umd.js.map +1 -1
- package/bundles/ps-toolkit-ui.umd.min.js +1 -1
- package/bundles/ps-toolkit-ui.umd.min.js.map +1 -1
- package/esm2015/lib/components/form/select/form.select.component.js +4 -3
- package/fesm2015/ps-toolkit-ui.js +3 -2
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/package.json +1 -1
|
@@ -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
|
-
|
|
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();
|