ps-toolkit-ui 1.20.44 → 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 +1 -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 -4
- package/esm2015/lib/components/form/select/form.select.component.js +2 -5
- package/fesm2015/ps-toolkit-ui.js +1 -7
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/package.json +1 -1
- package/ps-toolkit-ui.metadata.json +1 -1
|
@@ -2596,11 +2596,9 @@
|
|
|
2596
2596
|
_this.type === exports.InputType.SelectAutoCompletePlaqueF || _this.type === exports.InputType.SelectAutoCompletePlaqueG || _this.type === exports.InputType.Radio) {
|
|
2597
2597
|
var r = _this.getOptions(result, null);
|
|
2598
2598
|
var s = result.find(function (x) { return x.Selected; });
|
|
2599
|
-
console.log('value 20', _this.value);
|
|
2600
2599
|
if (s) {
|
|
2601
2600
|
_this.value = s.Id.toString();
|
|
2602
2601
|
}
|
|
2603
|
-
console.log('value 21', _this.value);
|
|
2604
2602
|
_this.setOptions(r);
|
|
2605
2603
|
}
|
|
2606
2604
|
else if (_this.type === exports.InputType.Tree || _this.type === exports.InputType.TreeRadio) {
|
|
@@ -2641,7 +2639,6 @@
|
|
|
2641
2639
|
InputClass.prototype.setOptions = function (r) {
|
|
2642
2640
|
var _this = this;
|
|
2643
2641
|
this.options = r;
|
|
2644
|
-
console.log('value 3', this.value);
|
|
2645
2642
|
if (this.value != null) {
|
|
2646
2643
|
setTimeout(function () {
|
|
2647
2644
|
_this.setValue(_this.value, true);
|
|
@@ -6298,10 +6295,7 @@
|
|
|
6298
6295
|
if (v !== null) {
|
|
6299
6296
|
this.inp.rel.url = this.inp.relUrl.replace('{}', this.inp.value);
|
|
6300
6297
|
if (this.inp.rel.type !== exports.InputType.SelectAutoComplete) {
|
|
6301
|
-
|
|
6302
|
-
this.inp.rel.load(null, function () {
|
|
6303
|
-
console.log('this.inp.rel.load done');
|
|
6304
|
-
});
|
|
6298
|
+
this.inp.rel.load();
|
|
6305
6299
|
}
|
|
6306
6300
|
else {
|
|
6307
6301
|
this.inp.rel.url += '_{}';
|