RFR: 8273657 : TextField: all text content must be selected initially
Andy Goryachev
angorya at openjdk.org
Thu Apr 25 16:18:38 UTC 2024
On Thu, 25 Apr 2024 14:26:06 GMT, Karthik P K <kpk at openjdk.org> wrote:
> The text was not getting selected on adding the `TextField` to the scene initially, subsequently removing and adding the `TextField` to the scene selects the entire text present in the `TextField`.
>
> Made changes in the `TextFieldBehavior` constructor to select the text on adding the `TextField`.
>
> Added unit test to validate the fix
the fix looks good.
-------------
Marked as reviewed by angorya (Reviewer).
PR Review: https://git.openjdk.org/jfx/pull/1446#pullrequestreview-2023008742
More information about the openjfx-dev
mailing list