osl-base-extended 1.1.34 → 1.1.35
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.
|
@@ -1665,9 +1665,10 @@ class OslAutocomplete extends baseComponent {
|
|
|
1665
1665
|
syncInputFromModel() {
|
|
1666
1666
|
if (this.model !== null && this.model !== undefined) {
|
|
1667
1667
|
const found = this.datasource.find((item) => this.getValue(item) === this.model);
|
|
1668
|
-
if (found)
|
|
1668
|
+
if (found) {
|
|
1669
1669
|
this.inputValue = this.getDisplay(found);
|
|
1670
|
-
|
|
1670
|
+
this.inputControl.setValue(this.getDisplay(found));
|
|
1671
|
+
}
|
|
1671
1672
|
}
|
|
1672
1673
|
else {
|
|
1673
1674
|
this.inputValue = '';
|