[JEWEL-1244] Fix ListComboBox External SelectedIndex Changes Not Syncing To Internal State #3418
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Context
Currently, our Combo Box implementation only updates its selected index internally. This means that, if users want to programmatically change it, the change won't be respected by our Combo Box. If the user clicks on a ComboBox, it'll show the value of whatever the user chose previously as the current selected item, not the item that was set by the code.
Changes
selectedIndexto ourLaunchedEffectin ComboBoxImpl, so that we can update the list state with the current selected indexIf you'd like to test this yourself, apply the git patch below:
Details
Evidences
Screen.Recording.2026-02-10.at.16.47.24.mov
Screen.Recording.2026-02-10.at.16.43.26.mov
Screen.Recording.2026-02-10.at.16.47.54.mov
Screen.Recording.2026-02-10.at.16.43.54.mov