Steps to reproduce the problem:
1. Add Label and PropptingTextInput controls to the application.
2. Bind Label.text property to PromptingTextInput.text and compile the
application.
3. Enter some text to PromptingTextInput control.
Expected result:
The text in Label changed
Actual result:
The text in Label changed only after second character of input string
was come.
Additional information:
To fix the bug we need change text property getter (add checking of
_currentlyFocused property):
override public function get text():String
{
// If the text has changed
if ( _textEmpty && !_currentlyFocused)
{
// Skip the prompt text value
return "";
}
else
{
return super.text;
}
}
instead of this one:
override public function get text():String
{
// If the text has changed
if ( _textEmpty)
{
// Skip the prompt text value
return "";
}
else
{
return super.text;
}
}
Please, fix the issue or provide the commit asses. Thanks in advance.
Original issue reported on code.google.com by zakhar.m...@gmail.com on 16 Nov 2009 at 12:40
Original issue reported on code.google.com by
zakhar.m...@gmail.com
on 16 Nov 2009 at 12:40