ps-toolkit-ui 1.4.77 → 1.4.78

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.
@@ -4935,7 +4935,7 @@
4935
4935
  this.inp.load();
4936
4936
  this.inp.setValue = function (v) {
4937
4937
  _this.inp.value = v;
4938
- if (_this.inp.value == null) {
4938
+ if (_this.inp.value == null && _this.inp.options.length > 0) {
4939
4939
  _this.inp.value = _this.inp.options.find(function (x) { return true; }).value;
4940
4940
  }
4941
4941
  _this.onChange();