ps-toolkit-ui 0.2.43 → 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 +1 -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/classes/form.class.js +1 -2
- package/esm2015/lib/components/form/file/form.file.component.js +2 -2
- package/fesm2015/ps-toolkit-ui.js +1 -2
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/package.json +1 -1
- package/ps-toolkit-ui.metadata.json +1 -1
|
@@ -1631,7 +1631,6 @@
|
|
|
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);
|
|
1635
1634
|
if (vl !== null) {
|
|
1636
1635
|
if (vl instanceof Array) {
|
|
1637
1636
|
try {
|
|
@@ -4006,7 +4005,7 @@
|
|
|
4006
4005
|
if (this.inp.value == null) {
|
|
4007
4006
|
return this.inp.l('FileNotSelected');
|
|
4008
4007
|
}
|
|
4009
|
-
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(', ');
|
|
4010
4009
|
var l = typeof this.inp.value === 'string' ? 1 : this.inp.value.length;
|
|
4011
4010
|
return this.inp.l('FileSelected', [l, t]);
|
|
4012
4011
|
};
|