I am trying to set a numeric code range (versus entering string characters) for 
the restrict property of a text field.  The documentation states that this can 
be achieved via the unicode escape sequence, such as "\u0030-\u0039".  But I 
cannot get this to work.  

Even trying single character such as

<mx:TextInput id="tt" width="100%" restrict="\u0030"/>

is failing. As I understand it, this should only allow the number 0 to be 
entered, but it does not work.  Instead, I am able to enter 0, 3, and u, so the 
\u seems to be ignored.

Am I missing something simple?

Reply via email to