ps-toolkit-ui 0.2.39 → 0.2.43

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.
@@ -1631,6 +1631,7 @@
1631
1631
  this.inputs.forEach(function (inp) {
1632
1632
  var e_1, _a;
1633
1633
  var vl = inp.data();
1634
+ console.log(inp.name, vl, vl instanceof Array);
1634
1635
  if (vl !== null) {
1635
1636
  if (vl instanceof Array) {
1636
1637
  try {
@@ -5131,7 +5132,7 @@
5131
5132
  else {
5132
5133
  this.inp.value = v;
5133
5134
  this.inp.hover = va ? va.index : -1;
5134
- this.inp.search = va ? (this.inp.type === exports.InputType.SelectSearch || this.inp.type === exports.InputType.Select ? va.name : va.search) : '';
5135
+ this.inp.search = va ? (((this.inp.type !== exports.InputType.SelectSearch && this.inp.type !== exports.InputType.Select) || va.search) ? va.search : va.name) : '';
5135
5136
  }
5136
5137
  this.setOptions();
5137
5138
  this.cSearch = this.inp.search;