On Tue, 7 May 2024 10:10:23 GMT, Karthik P K <k...@openjdk.org> wrote:

> The `ComboBox` value was not set to previously selected value in the item 
> list change listener when `setAll` method is used to change the items. Fixed 
> the issue by restoring the selection in this case.
> 
> Added a unit test to validate the fix.
> [JDK-8279139](https://bugs.openjdk.org/browse/JDK-8279139) is also fixed with 
> this change and added a unit test for the same.

This pull request has now been integrated.

Changeset: 88aad93d
Author:    Karthik P K <k...@openjdk.org>
URL:       
https://git.openjdk.org/jfx/commit/88aad93d07b36c8b32afd701c9180753db975e10
Stats:     67 lines in 2 files changed: 63 ins; 3 del; 1 mod

8279140: ComboBox can lose selected value on item change via setAll

Reviewed-by: angorya

-------------

PR: https://git.openjdk.org/jfx/pull/1452

Reply via email to