Bug #3641
Real text treated as placeholder text in WFormWidget when text is modified programatically.
Start date:
10/29/2014
Due date:
% Done:
0%
Estimated time:
Description
If the text in a WTextArea or other WFormWidget is set programatically with the setText() method, and placeholder text has previously been set with the setEmptyText or setPlaceholderText() method, then the new real text is treated as placeholder text. For example, it uses the placeholder formatting, and when the widget gets the focus, it becomes blank. I have tested this only in 3.3.0-rc3 but have looked at the latest version of the relevant code in git and no change seems to have been made to remedy this behaviour.
Files