ps-toolkit-ui 1.20.74 → 1.20.75

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.
@@ -6320,7 +6320,7 @@
6320
6320
  console.log(v, this.inp.options);
6321
6321
  var va = this.getValue(v);
6322
6322
  console.log(va);
6323
- if (this.inp.type === exports.InputType.SelectSearchRadio && va.options.length !== 0) {
6323
+ if (v != null && this.inp.type === exports.InputType.SelectSearchRadio && va.options.length !== 0) {
6324
6324
  return;
6325
6325
  }
6326
6326
  this.inp.error = null;
@@ -6371,7 +6371,7 @@
6371
6371
  }
6372
6372
  else {
6373
6373
  this.inp.value = op.value;
6374
- this.inp.options.filter(function (x) { return x.parent.value === op.parent.value; }).forEach(function (x) { return x.selected = false; });
6374
+ this.inp.options.filter(function (x) { return x.parent != null && x.parent.value === op.parent.value; }).forEach(function (x) { return x.selected = false; });
6375
6375
  op.selected = true;
6376
6376
  }
6377
6377
  };