ps-toolkit-ui 1.18.8 → 1.18.10
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 +3 -2
- package/esm2015/lib/components/table/table.component.js +2 -2
- package/fesm2015/ps-toolkit-ui.js +3 -2
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/package.json +1 -1
|
@@ -3922,7 +3922,7 @@
|
|
|
3922
3922
|
}
|
|
3923
3923
|
else if (c.enum != null) {
|
|
3924
3924
|
c.search.type = exports.InputType.Select;
|
|
3925
|
-
c.search.options = [new OptionClass('', '-1')].concat(EnumUtils.getKeysAndValues(c.enum).map(function (x) { return new OptionClass(_this.table.l(x.key), x.value); }));
|
|
3925
|
+
c.search.options = [new OptionClass('', '-1')].concat(EnumUtils.getKeysAndValues(c.enum).map(function (x) { return new OptionClass(_this.table.l(x.key), x.value.toString()); }));
|
|
3926
3926
|
}
|
|
3927
3927
|
else {
|
|
3928
3928
|
c.search.type = exports.InputType.Text;
|
|
@@ -6258,7 +6258,8 @@
|
|
|
6258
6258
|
if (isEdit === void 0) { isEdit = false; }
|
|
6259
6259
|
this.inp.error = null;
|
|
6260
6260
|
var va = this.getValue(v);
|
|
6261
|
-
console.log(
|
|
6261
|
+
console.log(this.inp.options, 'this.inp.optionsthis.inp.optionsthis.inp.optionsthis.inp.options');
|
|
6262
|
+
console.log(this.inp.options.find(function (x) { return x.value === v; }), 'this.inp.options.findthis.inp.options.findthis.inp.options.find');
|
|
6262
6263
|
if (this.inp.multiple) {
|
|
6263
6264
|
this.toggle(va);
|
|
6264
6265
|
this.inp.search = '';
|