ps-toolkit-ui 1.20.13 → 1.20.15

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.
@@ -2599,6 +2599,11 @@
2599
2599
  }
2600
2600
  else if (_this.type === exports.InputType.Tree || _this.type === exports.InputType.TreeRadio) {
2601
2601
  _this.rows = _this.getRows(result, null);
2602
+ if (_this.value != null) {
2603
+ setTimeout(function () {
2604
+ _this.setValue(_this.value, true);
2605
+ }, 500);
2606
+ }
2602
2607
  }
2603
2608
  if (done) {
2604
2609
  done();
@@ -9216,6 +9221,7 @@
9216
9221
  this.withCheck = false;
9217
9222
  this.withSelect = false;
9218
9223
  this.showExtraButtons = true;
9224
+ this.firstLoad = true;
9219
9225
  this.extraButtons = [];
9220
9226
  this.form = null;
9221
9227
  this.searchForm = null;
@@ -9483,7 +9489,9 @@
9483
9489
  this.title = this.listAccess.Name;
9484
9490
  this.url = this.getUrl(this.listAccess.Url);
9485
9491
  if (this.permissions.Type !== exports.PermissionTypeEnum.Form) {
9486
- this.load();
9492
+ if (this.firstLoad) {
9493
+ this.load();
9494
+ }
9487
9495
  }
9488
9496
  else {
9489
9497
  this.loading = false;