17 Replies Latest reply on Sep 3, 2014 2:29 AM by dhanasekar

    How to convert s:TextInput to upper case?

    elmonty2 Level 1

      How do I set up a <s:TextInput> element so that when the user types, it appears in upper case?


      I've tried the restrict property, but that doesn't convert the text, and it only would confuse the user because if they start typing in lower case (the norm), nothing happens.  How frustrating.


      I've tried replacing the text property in the change event, but that forces the cursor to the beginning of the field each time.