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.
@@ -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.filter(function (x) { return x.parent != null && x.parent.value === op.parent.value; }).forEach(function (x) { return x.selected = false; });
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
  };