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