ps-toolkit-ui 1.20.75 → 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 {
@@ -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 (v != null && this.inp.type === exports.InputType.SelectSearchRadio && va.options.length !== 0) {
6323
+ if (this.inp.type === exports.InputType.SelectSearchRadio && va.options.length !== 0) {
6324
6324
  return;
6325
6325
  }
6326
6326
  this.inp.error = null;
@@ -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
  };