ps-toolkit-ui 1.19.98 → 1.20.0

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.
@@ -3776,9 +3776,7 @@
3776
3776
  }
3777
3777
  };
3778
3778
  TableRowComponent.prototype.onContextMenu = function (event) {
3779
- if (this.table.withSelect && this.table.onRightClickRow) {
3780
- event.preventDefault(); // Prevents the default context menu for the entire component
3781
- }
3779
+ event.preventDefault(); // Prevents the default context menu for the entire component
3782
3780
  };
3783
3781
  return TableRowComponent;
3784
3782
  }());
@@ -8910,7 +8908,9 @@
8910
8908
  }
8911
8909
  _this.onChange(isEdit);
8912
8910
  };
8913
- this.inp.setValue(this.inp.value, false);
8911
+ if (this.inp.default != null) {
8912
+ this.inp.setValue(this.inp.default, false);
8913
+ }
8914
8914
  this.inp.isValid = function () {
8915
8915
  _this.inp.error = null;
8916
8916
  if (_this.inp.required && _this.inp.value === null) {
@@ -9259,7 +9259,7 @@
9259
9259
  this.modal = null;
9260
9260
  this.level = null;
9261
9261
  this.withRelatedRow = false;
9262
- this.relatedRow = false;
9262
+ this.relatedRow = null;
9263
9263
  this.listAccess = null;
9264
9264
  this.insertAccess = null;
9265
9265
  this.subTable = null;