ps-toolkit-ui 1.18.63 → 1.18.65

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.
@@ -3980,16 +3980,21 @@
3980
3980
  }
3981
3981
  if (x.type === exports.InputType.Submit) {
3982
3982
  x.onClick = function () {
3983
+ console.log('x.onClick');
3984
+ if (_this.table.searchForm.onBeforeSubmit && !_this.table.searchForm.onBeforeSubmit()) {
3985
+ return;
3986
+ }
3987
+ _this.table.load(x);
3988
+ $__namespace(_this.tableDiv.nativeElement).removeClass('show-expert-search');
3989
+ };
3990
+ _this.table.searchForm.submit = function () {
3991
+ console.log('this.table.searchForm.submit');
3983
3992
  if (_this.table.searchForm.onBeforeSubmit && !_this.table.searchForm.onBeforeSubmit()) {
3984
3993
  return;
3985
3994
  }
3986
3995
  _this.table.load(x);
3987
3996
  $__namespace(_this.tableDiv.nativeElement).removeClass('show-expert-search');
3988
3997
  };
3989
- // this.table.searchForm.submit = () => {
3990
- // this.table.load(x);
3991
- // $(this.tableDiv.nativeElement).removeClass('show-expert-search');
3992
- // };
3993
3998
  }
3994
3999
  });
3995
4000
  }
@@ -7157,6 +7162,7 @@
7157
7162
  _this.setValue(v.map(String));
7158
7163
  };
7159
7164
  this.inp.clear = function () {
7165
+ _this.inp.error = null;
7160
7166
  _this.inp.setValue([], false);
7161
7167
  };
7162
7168
  if (this.inp.default != null) {
@@ -7246,6 +7252,7 @@
7246
7252
  if (this.inp.onChange) {
7247
7253
  this.inp.onChange(this.inp);
7248
7254
  }
7255
+ this.inp.error = null;
7249
7256
  };
7250
7257
  FormTreeComponent.prototype.check = function (c) {
7251
7258
  if (this.inp.type === exports.InputType.Tree) {