ps-toolkit-ui 1.20.74 → 1.20.77

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.
@@ -6101,7 +6101,7 @@
6101
6101
  this.inp.load();
6102
6102
  }
6103
6103
  this.inp.setValue = function (v, isEdit) {
6104
- if (!_this.inp.multiple) {
6104
+ if (!_this.inp.multiple && _this.inp.type != exports.InputType.SelectSearchRadio) {
6105
6105
  _this.selectOption(v == null ? null : v.toString(), isEdit);
6106
6106
  }
6107
6107
  else {
@@ -6360,7 +6360,7 @@
6360
6360
  if (this.inp.onChange) {
6361
6361
  this.inp.onChange(this.inp, isEdit);
6362
6362
  }
6363
- if (!isEdit && !this.inp.multiple) {
6363
+ if (!isEdit && !this.inp.multiple && this.inp.type != exports.InputType.SelectSearchRadio) {
6364
6364
  this.cI('Tab');
6365
6365
  }
6366
6366
  };
@@ -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
  };