Hey! Current javascript implementation works as expected, even if text was edited and cleared. see http://webtoolkit.eu/widgets/forms/line_text-editor However, I agree, HTML5 placeholder feature should be used if available.
Regards, Boris Nagaev On Tue, Feb 18, 2014 at 11:55 AM, Stefan Ruppert <s...@myarm.com> wrote: > > Hi, > > the current implementation of setPlaceholderText() manipulates the > placeholder text using some javascript code, but this does not work as > expected. Changing the contents of a WLineEdit and clearing it later > will confuse the javascript code... > > Why don't use the HTML5 placeholder attribute? > > Regards, > Stefan > > ------------------------------------------------------------------------------ > Managing the Performance of Cloud-Based Applications > Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. > Read the Whitepaper. > http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk > _______________________________________________ > witty-interest mailing list > witty-interest@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/witty-interest ------------------------------------------------------------------------------ Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk _______________________________________________ witty-interest mailing list witty-interest@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/witty-interest