On Mon, 28 Nov 2022 12:42:15 GMT, Karthik P K <k...@openjdk.org> wrote:

> Cause: On hiding the DatePicker dropdown, value selected was not getting 
> updated to the text editor. Hence old value from the text editor was getting 
> committed to DatePicker on focus loss. This issue was seen only when 
> DatePicker is used in Alert dialog and Alert dialog is closed on making 
> selection in DatePicker dropdown.
> 
> Fix: Added call to updateDisplayNode() function before hiding the date picker 
> dropdown.
> 
> Test: Added system test to validate the fix.

This pull request has now been integrated.

Changeset: dadfcaf4
Author:    Karthik P K <k...@openjdk.org>
Committer: Kevin Rushforth <k...@openjdk.org>
URL:       
https://git.openjdk.org/jfx/commit/dadfcaf43f4bc682aa7a73cbe6f2ede88f89a639
Stats:     185 lines in 2 files changed: 185 ins; 0 del; 0 mod

8295339: DatePicker updates its value property with wrong date when dialog 
closes

Reviewed-by: angorya, kcr

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

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

Reply via email to