Repository navigation
fix: support items with duplicate labels in combo-box - #6704
Conversation
|
Kudos, SonarCloud Quality Gate passed!
|
| } else { | ||
| // Try to find an item which label matches the input value. | ||
| const items = [...(this._dropdownItems || []), this.selectedItem]; | ||
| const items = [this.selectedItem, ...(this._dropdownItems || [])]; |
There was a problem hiding this comment.
When looking for an item that matches the input by label, check the currently selected item first
There was a problem hiding this comment.
Thanks Tomi, this fix was simpler than expected! :)
|
Hi @tomivirkki and @tomivirkki, when i performed cherry-pick to this commit to 24.2, i have encountered the following issue. Can you take a look and pick it manually? |
|
Hi @tomivirkki and @tomivirkki, when i performed cherry-pick to this commit to 24.1, i have encountered the following issue. Can you take a look and pick it manually? |
|
This ticket/PR has been released with Vaadin 24.3.0.alpha3 and is also targeting the upcoming stable 24.3.0 version. |








Description
Fixes #6587
Type of change
Bugfix