Bug with spark TextInput.restrict


hello,

 

there bug how spark textinput handles 'restrict' property. highlighted text gets deleted when user tries enter character not specified in range of characters restrict

 

steps reproduce:

1) add spark textinput in project

2) set restrict property "a-ba-b" (allow alpha characters)

3) run project

4) enter numeric character want allowed now.

5) enter alpha characters

6) highlight portion or whole text entered , hit numeric character key (0-9) , see highlited text erased though not replacing selected text keystroke input.

 

a must fix rather enforcing users find workaround handling textinput event override.

 

thanks & regards,

gotik.



More discussions in Flex (Read Only)


adobe

Comments

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

After Effect warning: A problem occurred when processing OpenGL commands

Preconditions Failed. - Joomla! Forum - community, help and support