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.
- package/README.md +4 -1
- package/esm2020/lib/ztree/ztree.component.mjs +5 -5
- package/fesm2015/mmhglobal-dynamicform.mjs +4 -4
- package/fesm2015/mmhglobal-dynamicform.mjs.map +1 -1
- package/fesm2020/mmhglobal-dynamicform.mjs +4 -4
- package/fesm2020/mmhglobal-dynamicform.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -11375,14 +11375,14 @@ class ZtreeComponent extends DataListingFieldBase {
|
|
|
11375
11375
|
}
|
|
11376
11376
|
return checkboxConfiguration;
|
|
11377
11377
|
}
|
|
11378
|
-
setValues(data,
|
|
11379
|
-
|
|
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,
|
|
11382
|
+
this.setValues(data, 'checkedKeys');
|
|
11383
11383
|
}
|
|
11384
11384
|
setDisabledCheckBox(data) {
|
|
11385
|
-
this.setValues(data,
|
|
11385
|
+
this.setValues(data, 'disabledCheckBoxKeys');
|
|
11386
11386
|
}
|
|
11387
11387
|
get checkableSettings() {
|
|
11388
11388
|
if (!!this.data.TreeViewCheckboxConfiguration) {
|