ps-toolkit-ui 1.20.40 → 1.20.43
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 +5 -3
- 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 +4 -3
- package/esm2015/lib/components/form/select/form.select.component.js +2 -2
- package/fesm2015/ps-toolkit-ui.js +4 -3
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/package.json +1 -1
- package/ps-toolkit-ui.metadata.json +1 -1
|
@@ -2599,6 +2599,7 @@
|
|
|
2599
2599
|
if (s) {
|
|
2600
2600
|
_this.value = s.Id.toString();
|
|
2601
2601
|
}
|
|
2602
|
+
console.log('value 2', _this.value);
|
|
2602
2603
|
_this.setOptions(r);
|
|
2603
2604
|
}
|
|
2604
2605
|
else if (_this.type === exports.InputType.Tree || _this.type === exports.InputType.TreeRadio) {
|
|
@@ -2637,11 +2638,12 @@
|
|
|
2637
2638
|
}
|
|
2638
2639
|
};
|
|
2639
2640
|
InputClass.prototype.setOptions = function (r) {
|
|
2641
|
+
var _this = this;
|
|
2640
2642
|
this.options = r;
|
|
2643
|
+
console.log('value 3', this.value);
|
|
2641
2644
|
if (this.value != null) {
|
|
2642
2645
|
setTimeout(function () {
|
|
2643
|
-
|
|
2644
|
-
// this.setValue(this.value, true);
|
|
2646
|
+
_this.setValue(_this.value, true);
|
|
2645
2647
|
}, 500);
|
|
2646
2648
|
}
|
|
2647
2649
|
};
|
|
@@ -6295,7 +6297,7 @@
|
|
|
6295
6297
|
if (v !== null) {
|
|
6296
6298
|
this.inp.rel.url = this.inp.relUrl.replace('{}', this.inp.value);
|
|
6297
6299
|
if (this.inp.rel.type !== exports.InputType.SelectAutoComplete) {
|
|
6298
|
-
console.log('this.inp.rel.
|
|
6300
|
+
console.log('value 1', v, this.inp.rel.value);
|
|
6299
6301
|
this.inp.rel.load(null, function () {
|
|
6300
6302
|
console.log('this.inp.rel.load done');
|
|
6301
6303
|
});
|