ps-toolkit-ui 0.2.40 → 0.2.44
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 +2 -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/file/form.file.component.js +2 -2
- package/esm2015/lib/components/form/select/form.select.component.js +2 -2
- package/fesm2015/ps-toolkit-ui.js +2 -2
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/package.json +1 -1
|
@@ -4005,7 +4005,7 @@
|
|
|
4005
4005
|
if (this.inp.value == null) {
|
|
4006
4006
|
return this.inp.l('FileNotSelected');
|
|
4007
4007
|
}
|
|
4008
|
-
var t = typeof this.inp.value === 'string' ? this.inp.value : this.inp.value.map(function (x) { return x.name; }).join(', ');
|
|
4008
|
+
var t = typeof this.inp.value === 'string' ? this.inp.value : this.inp.value.map(function (x) { return typeof x === 'string' ? x : x.name; }).join(', ');
|
|
4009
4009
|
var l = typeof this.inp.value === 'string' ? 1 : this.inp.value.length;
|
|
4010
4010
|
return this.inp.l('FileSelected', [l, t]);
|
|
4011
4011
|
};
|
|
@@ -5131,7 +5131,7 @@
|
|
|
5131
5131
|
else {
|
|
5132
5132
|
this.inp.value = v;
|
|
5133
5133
|
this.inp.hover = va ? va.index : -1;
|
|
5134
|
-
this.inp.search = va ? (this.inp.type
|
|
5134
|
+
this.inp.search = va ? (((this.inp.type !== exports.InputType.SelectSearch && this.inp.type !== exports.InputType.Select) || va.search) ? va.search : va.name) : '';
|
|
5135
5135
|
}
|
|
5136
5136
|
this.setOptions();
|
|
5137
5137
|
this.cSearch = this.inp.search;
|