ps-toolkit-ui 0.0.46 → 0.0.47

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.
@@ -4793,7 +4793,6 @@
4793
4793
  if (isEdit === void 0) { isEdit = false; }
4794
4794
  this.inp.error = null;
4795
4795
  var va = this.getValue(v);
4796
- console.log(va, 'selectOption selectOption selectOption');
4797
4796
  if (this.inp.multiple) {
4798
4797
  this.toggle(va);
4799
4798
  this.inp.search = '';
@@ -4814,12 +4813,14 @@
4814
4813
  this.inp.rel.index = 0;
4815
4814
  this.inp.rel.search = '';
4816
4815
  this.inp.rel.options = [];
4817
- this.inp.rel.url = this.inp.relUrl.replace('{}', this.inp.value);
4818
- if (this.inp.rel.type !== exports.InputType.SelectAutoComplete) {
4819
- this.inp.rel.load();
4820
- }
4821
- else {
4822
- this.inp.rel.url += '_{}';
4816
+ if (v !== null) {
4817
+ this.inp.rel.url = this.inp.relUrl.replace('{}', this.inp.value);
4818
+ if (this.inp.rel.type !== exports.InputType.SelectAutoComplete) {
4819
+ this.inp.rel.load();
4820
+ }
4821
+ else {
4822
+ this.inp.rel.url += '_{}';
4823
+ }
4823
4824
  }
4824
4825
  }
4825
4826
  if (!isEdit && !this.inp.multiple) {