ps-toolkit-ui 1.5.52 → 1.5.53

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.
@@ -1678,7 +1678,17 @@
1678
1678
  this.inputs.forEach(function (inp) {
1679
1679
  var vl = inp.data();
1680
1680
  if (vl !== null) {
1681
- _.set(d, inp.name, vl);
1681
+ if (d[inp.name] === undefined) {
1682
+ _.set(d, inp.name, vl);
1683
+ }
1684
+ else {
1685
+ if (d[inp.name] instanceof Array) {
1686
+ d[inp.name].push(vl);
1687
+ }
1688
+ else {
1689
+ d[inp.name] = [d[inp.name], vl];
1690
+ }
1691
+ }
1682
1692
  }
1683
1693
  });
1684
1694
  }
@@ -7333,7 +7343,6 @@
7333
7343
  };
7334
7344
  FormStarComponent.prototype.onChange = function (s) {
7335
7345
  this.inp.value = s;
7336
- console.log(this.inp.value);
7337
7346
  if (this.inp.onChange) {
7338
7347
  this.inp.onChange(this.inp);
7339
7348
  }