Integrated: 8279140: ComboBox can lose selected value on item change via setAll
Karthik P K
kpk at openjdk.org
Wed May 15 16:07:07 UTC 2024
On Tue, 7 May 2024 10:10:23 GMT, Karthik P K <kpk at 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 <kpk at 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
More information about the openjfx-dev
mailing list