@vgip/meta-ui 2.3.4 → 2.3.5
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.
|
@@ -3713,15 +3713,13 @@ class FieldSelect extends FieldAbstract {
|
|
|
3713
3713
|
}
|
|
3714
3714
|
this.parentChangeSubject.subscribe((value) => {
|
|
3715
3715
|
if (value && value.hasOwnProperty(par)) {
|
|
3716
|
-
|
|
3717
|
-
|
|
3718
|
-
|
|
3719
|
-
|
|
3720
|
-
|
|
3721
|
-
|
|
3722
|
-
|
|
3723
|
-
}
|
|
3724
|
-
}, 0);
|
|
3716
|
+
this.logicalDisabled = !value[par];
|
|
3717
|
+
if (this.logicalDisabled) {
|
|
3718
|
+
this.clear();
|
|
3719
|
+
}
|
|
3720
|
+
else {
|
|
3721
|
+
this.filterOptions();
|
|
3722
|
+
}
|
|
3725
3723
|
}
|
|
3726
3724
|
});
|
|
3727
3725
|
}
|
|
@@ -3959,7 +3957,6 @@ class FieldSelect extends FieldAbstract {
|
|
|
3959
3957
|
}
|
|
3960
3958
|
}
|
|
3961
3959
|
filterOptions() {
|
|
3962
|
-
// console.log('filterOptions')
|
|
3963
3960
|
this.asyncOptions = [];
|
|
3964
3961
|
if (!this.logicalDisabled) {
|
|
3965
3962
|
for (const o of this.meta.options) {
|