ps-toolkit-ui 1.11.70 → 1.11.72

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.
@@ -1747,7 +1747,7 @@
1747
1747
  FormClass.prototype.clear = function () {
1748
1748
  this.method = exports.Method.Post;
1749
1749
  this.url = this.baseUrl;
1750
- this.setButtons(this.onTop, this.isEdit);
1750
+ this.setButtons(this.onTop, false);
1751
1751
  this.clearInputs();
1752
1752
  if (this.onTop) {
1753
1753
  this.focus();
@@ -1909,6 +1909,7 @@
1909
1909
  FormClass.prototype.setData = function (d) {
1910
1910
  this.inputs.forEach(function (inp) {
1911
1911
  var iv = _.get(d, inp.name);
1912
+ console.log(iv, 'iviviviviviv');
1912
1913
  if (inp.type === exports.InputType.Vehicle) {
1913
1914
  var ivt = _.get(d, inp.name + 'Type');
1914
1915
  inp.setValue({ Value: iv, Type: ivt }, true);
@@ -3846,6 +3847,7 @@
3846
3847
  };
3847
3848
  };
3848
3849
  FormDateComponent.prototype.setInpValue = function (v) {
3850
+ console.log(v, 'setInpValue');
3849
3851
  if (v === null) {
3850
3852
  this.inp.clear();
3851
3853
  this.active = moment__namespace().locale('fa');