Skip to content

Commit 0742854

Browse files
authored
fix(ui5-combobox): allow setting value with javascript (#2253)
1 parent a816cef commit 0742854

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/main/src/ComboBox.js

+2
Original file line numberDiff line numberDiff line change
@@ -394,6 +394,8 @@ class ComboBox extends UI5Element {
394394
if (this._initialRendering) {
395395
domValue = this.value;
396396
this._filteredItems = this.items;
397+
} else if (this.value !== this.filterValue) {
398+
domValue = this.filterValue ? this.filterValue : this.value;
397399
} else {
398400
domValue = this.filterValue;
399401
}

0 commit comments

Comments
 (0)