wiln / flexlib

Automatically exported from code.google.com/p/flexlib
0 stars 0 forks source link

PromptingTextArea v2.4 shows prompt text on creation when valid htmlText string set via binding #149

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

version 2.4

1. Create PromptingTextArea via AS
2. bind value to htmlText using BindingUtil
3. insert component via addChild

What is the expected output? What do you see instead?

The expected output is the value of the bind property method
instead, the prompt appears.  After, subsequent updates via binding,
htmlText displays correctly.

Please use labels and text to provide additional information.

I've attached what I believe to be a fix.  The PromptingTextArea was
overriding the set/get text methods but not the set/get htmlText methods. 
Also, the handleChange method wasn't taking into account the htmlText
length in setting the _textEmpty property.

I suspect the same fix is necessary in PromptingTextInput

HTH,
Ryan

Original issue reported on code.google.com by ryangre...@gmail.com on 1 Aug 2008 at 7:05

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by dmcc...@gmail.com on 8 Jan 2009 at 5:44

GoogleCodeExporter commented 9 years ago

Original comment by olarivain@gmail.com on 29 Mar 2010 at 1:28