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.
- package/bundles/ps-toolkit-ui.umd.js +8 -7
- package/bundles/ps-toolkit-ui.umd.js.map +1 -1
- package/bundles/ps-toolkit-ui.umd.min.js +1 -1
- package/bundles/ps-toolkit-ui.umd.min.js.map +1 -1
- package/esm2015/lib/components/form/select/form.select.component.js +9 -8
- package/fesm2015/ps-toolkit-ui.js +8 -7
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/package.json +1 -1
|
@@ -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
|
-
|
|
4818
|
-
|
|
4819
|
-
this.inp.rel.
|
|
4820
|
-
|
|
4821
|
-
|
|
4822
|
-
|
|
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) {
|