mmhglobal-dynamicform 2.15.1 → 2.15.2

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.
@@ -11375,14 +11375,14 @@ class ZtreeComponent extends DataListingFieldBase {
11375
11375
  }
11376
11376
  return checkboxConfiguration;
11377
11377
  }
11378
- setValues(data, targetArray, defaultValue = []) {
11379
- targetArray = data ? (Array.isArray(data) ? data : [data]) : defaultValue;
11378
+ setValues(data, targetVariable, defaultValue = []) {
11379
+ this[targetVariable] = data ? (Array.isArray(data) ? data : [data]) : defaultValue;
11380
11380
  }
11381
11381
  setCheckedValues(data) {
11382
- this.setValues(data, this.checkedKeys);
11382
+ this.setValues(data, 'checkedKeys');
11383
11383
  }
11384
11384
  setDisabledCheckBox(data) {
11385
- this.setValues(data, this.disabledCheckBoxKeys);
11385
+ this.setValues(data, 'disabledCheckBoxKeys');
11386
11386
  }
11387
11387
  get checkableSettings() {
11388
11388
  if (!!this.data.TreeViewCheckboxConfiguration) {