flex-users / flexlib

Open Source Flex components library.
github.com/flex-users/flexlib
MIT License
204 stars 91 forks source link

Binding 'prompt' property of PromptingTextInput also sets 'text' property #304

Open nicoulaj opened 13 years ago

nicoulaj commented 13 years ago

Originally filed by da.s...@gmail.com on 2010-05-11T17:22:24

What steps will reproduce the problem?

  1. Create mxml application
  2. Declare PromptingTextInput control
  3. Create a private const string variable with some text in it that includes \r and \t
  4. Set the prompt property of the PromptingTextInput control to the string declared in step 3.
  5. Run the application and inspect the prompt and text properties of the control

What is the expected output? text property should be empty

What do you see instead? text property shows the same as prompt but without \r and \t characters

What version of the product are you using? On what operating system? Latest as of today. Mac OS 10.6.3

Please provide any additional information below.