osl-base-extended 8.4.0 → 8.6.0
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.
|
@@ -1731,7 +1731,16 @@ class OslAutocomplete extends baseComponent {
|
|
|
1731
1731
|
cdr;
|
|
1732
1732
|
label = '';
|
|
1733
1733
|
required = false;
|
|
1734
|
-
|
|
1734
|
+
_isDisabled;
|
|
1735
|
+
set disabled(val) {
|
|
1736
|
+
this._isDisabled = val;
|
|
1737
|
+
if (val) {
|
|
1738
|
+
this.inputControl.disable();
|
|
1739
|
+
}
|
|
1740
|
+
}
|
|
1741
|
+
get disabled() {
|
|
1742
|
+
return this._isDisabled;
|
|
1743
|
+
}
|
|
1735
1744
|
_model = null;
|
|
1736
1745
|
_object;
|
|
1737
1746
|
// Fix: removed if(val) guard — _model must be settable to null/0/false
|
|
@@ -1862,9 +1871,6 @@ class OslAutocomplete extends baseComponent {
|
|
|
1862
1871
|
this.filteredItems = [...this.datasource];
|
|
1863
1872
|
}
|
|
1864
1873
|
}
|
|
1865
|
-
if (this.disabled) {
|
|
1866
|
-
this.inputControl.disable();
|
|
1867
|
-
}
|
|
1868
1874
|
this.syncInputFromModel();
|
|
1869
1875
|
this.cdr.markForCheck();
|
|
1870
1876
|
}
|