ps-toolkit-ui 1.20.79 → 1.20.80
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/bundles/ps-toolkit-ui.umd.js +1 -4
- package/bundles/ps-toolkit-ui.umd.js.map +1 -1
- package/bundles/ps-toolkit-ui.umd.min.js +1 -1
- package/bundles/ps-toolkit-ui.umd.min.js.map +1 -1
- package/esm2015/lib/components/form/select/form.select.component.js +2 -5
- package/fesm2015/ps-toolkit-ui.js +1 -4
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/package.json +1 -1
|
@@ -6370,11 +6370,8 @@
|
|
|
6370
6370
|
op.selected = false;
|
|
6371
6371
|
}
|
|
6372
6372
|
else {
|
|
6373
|
-
console.log(op);
|
|
6374
|
-
console.log(this.inp.options);
|
|
6375
|
-
console.log(this.inp.options.filter(function (x) { return x.parent != null && x.parent.value === op.parent.value; }));
|
|
6376
6373
|
this.inp.value = op.value;
|
|
6377
|
-
this.inp.options.
|
|
6374
|
+
this.inp.options.find(function (x) { return x.value === op.parent.value; }).options.forEach(function (x) { return x.selected = false; });
|
|
6378
6375
|
op.selected = true;
|
|
6379
6376
|
}
|
|
6380
6377
|
};
|