Hello everyone,

I used to be able to toggle the property *displayAsPassword* of a /TextInput
/ in a very simple way:

/<s:View xmlns:fx="http://ns.adobe.com/mxml/2009"; 
                xmlns:s="library://ns.adobe.com/flex/spark"
                title="DisplayAsPassword">
        
        <fx:Script>
                
        </fx:Script>
        
        <s:TextInput id="appPassword"
                                 restrict="-A-Za-z0-9._" 
displayAsPassword="true"
                                 top="20" left="0" right="0"/>
        <s:CheckBox id="showPasswordButton"
                                change="togglePasswordDisplay(event)"
                                top="{appPassword.y + appPassword.height + 20}" 
right="0"/>
        
</s:View>/

The previous code used to work when using SDK version 4.6, but now, that I'm
using 4.12.0 it doesn't. It should be pretty straight-forward so why isn't
it working?

Any help is appreciated.

Regards,

Sebastián





--
View this message in context: 
http://apache-flex-users.2333346.n4.nabble.com/Flex-4-12-0-Can-t-toggle-displayAsPassword-in-TextInput-as-in-previous-versions-tp6790.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.

Reply via email to