We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cbcd4cf commit 3b24649Copy full SHA for 3b24649
1 file changed
packages/main/src/ComboBox.ts
@@ -1373,9 +1373,9 @@ class ComboBox extends UI5Element implements IFormInputElement {
1373
}
1374
1375
this.value = this._selectedItemText;
1376
- // On first item select the _useSelectedValue is still false.
1377
- // In case the item has a value property, we set the _useSelectedValue to true to start working with the value instead with the text
1378
- if (!this._useSelectedValue && item.value != undefined) {
+ // On first item select the _useSelectedValue is still false.
+ // In case the item has a value property, we set the _useSelectedValue to true to start working with the value instead with the text.
+ if (!this._useSelectedValue && item.value !== undefined) {
1379
this._useSelectedValue = true;
1380
1381
0 commit comments