ps-toolkit-ui 1.20.43 → 1.20.45
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 +2 -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/classes/form.class.js +1 -3
- package/esm2015/lib/components/form/select/form.select.component.js +3 -6
- package/fesm2015/ps-toolkit-ui.js +2 -7
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/package.json +1 -1
- package/ps-toolkit-ui.metadata.json +1 -1
|
@@ -2599,7 +2599,6 @@
|
|
|
2599
2599
|
if (s) {
|
|
2600
2600
|
_this.value = s.Id.toString();
|
|
2601
2601
|
}
|
|
2602
|
-
console.log('value 2', _this.value);
|
|
2603
2602
|
_this.setOptions(r);
|
|
2604
2603
|
}
|
|
2605
2604
|
else if (_this.type === exports.InputType.Tree || _this.type === exports.InputType.TreeRadio) {
|
|
@@ -2640,7 +2639,6 @@
|
|
|
2640
2639
|
InputClass.prototype.setOptions = function (r) {
|
|
2641
2640
|
var _this = this;
|
|
2642
2641
|
this.options = r;
|
|
2643
|
-
console.log('value 3', this.value);
|
|
2644
2642
|
if (this.value != null) {
|
|
2645
2643
|
setTimeout(function () {
|
|
2646
2644
|
_this.setValue(_this.value, true);
|
|
@@ -6062,7 +6060,7 @@
|
|
|
6062
6060
|
}
|
|
6063
6061
|
else {
|
|
6064
6062
|
if (v != null) {
|
|
6065
|
-
|
|
6063
|
+
_this.inp.value = v.map(String);
|
|
6066
6064
|
_this.setValue(v.map(String));
|
|
6067
6065
|
}
|
|
6068
6066
|
}
|
|
@@ -6297,10 +6295,7 @@
|
|
|
6297
6295
|
if (v !== null) {
|
|
6298
6296
|
this.inp.rel.url = this.inp.relUrl.replace('{}', this.inp.value);
|
|
6299
6297
|
if (this.inp.rel.type !== exports.InputType.SelectAutoComplete) {
|
|
6300
|
-
|
|
6301
|
-
this.inp.rel.load(null, function () {
|
|
6302
|
-
console.log('this.inp.rel.load done');
|
|
6303
|
-
});
|
|
6298
|
+
this.inp.rel.load();
|
|
6304
6299
|
}
|
|
6305
6300
|
else {
|
|
6306
6301
|
this.inp.rel.url += '_{}';
|