On Tue, 4 Feb 2025 14:11:00 GMT, Ziad El Midaoui <[email protected]> wrote:
> When binding the promptTextProperty of a TextInputControl (TextField or
> TextArea) to a text that contains linebreaks/newlines ("\n") the "bind" call
> causes a RuntimeException to be thrown, the solution to it is to unbind
> before calling the set(txt) method to set the new value for the property.
> Also added tests to test this new fix
This pull request has now been integrated.
Changeset: d615fdc7
Author: Ziad El Midaoui <[email protected]>
Committer: Andy Goryachev <[email protected]>
URL:
https://git.openjdk.org/jfx/commit/d615fdc717a55251225823ae5eeefb766e900e99
Stats: 42 lines in 2 files changed: 37 ins; 5 del; 0 mod
8335587: TextInputControl: Binding prompt text that contains linebreak causes
exception
Reviewed-by: angorya, mhanl
-------------
PR: https://git.openjdk.org/jfx/pull/1694