ps-toolkit-ui 1.18.5 → 1.18.6

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.
@@ -3922,8 +3922,7 @@
3922
3922
  else if (c.enum != null) {
3923
3923
  c.search.type = exports.InputType.Select;
3924
3924
  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
- console.log(c.search.options.find(function (x) { return x.value === c.searchDefault; }));
3926
- c.search.search = (_a = c.search.options.find(function (x) { return x.value === c.searchDefault; })) === null || _a === void 0 ? void 0 : _a.name;
3925
+ c.search.setSearch((_a = c.search.options.find(function (x) { return x.value === c.searchDefault; })) === null || _a === void 0 ? void 0 : _a.name);
3927
3926
  }
3928
3927
  else {
3929
3928
  c.search.type = exports.InputType.Text;