Show / hide password

  1. #1

    Show / hide password

    Hello

    Is it possible to disable and enable the password mask plugin? This means show and hide the password?

    <ext:TextField runat="server">
     <RightButtons>
      <ext:Button runat="server" Icon="Eye" ToolTip="Show/Hide Password">
        <!--enable and disable the plugin with a direct event doesn't work -->
        <DirectEvents>
          <Click OnEvent="ShowHidePassword" />
        </DirectEvents>
      </ext:Button>
     </RightButtons>
     <Plugins>
       <ext:PasswordMask ID="PasswordMask" runat="server" />
     </Plugins>
    </ext:TextField>
  2. #2
    PasswordMask has three modes: showall, showlast, hideall

    To show password use
    textField.passwordMask.setMode('showall');
    To hide password
    textField.passwordMask.setMode('hideall');
    To show last only (few seconds after input)
    textField.passwordMask.setMode('showlast');
  3. #3
    Thanks but I can't find the "Mode" property, we use ext.net v. 2.2, is it something new in ext.net v. 2.3 or 2.4?
  4. #4
    Hello!

    Yes, we improved this plugin in Ext.NET 2.3, you can find more information here: http://www.ext.net/2013/10/01/offici...now-available/.

    In order to use them you need to update.

Similar Threads

  1. [CLOSED] Hide show Split bar
    By legaldiscovery in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Aug 09, 2013, 6:32 PM
  2. [CLOSED] Treepanel show/hide childnodes
    By softmachine2011 in forum 2.x Legacy Premium Help
    Replies: 2
    Last Post: Aug 28, 2012, 12:12 PM
  3. Show/Hide fieldset
    By JosefTrbusek in forum 2.x Help
    Replies: 2
    Last Post: Aug 03, 2012, 7:04 AM
  4. Implement a Password Meter to a Password Field
    By sudantha in forum 1.x Help
    Replies: 1
    Last Post: Jan 15, 2012, 6:59 AM
  5. Show/Hide tabs
    By stone216 in forum 1.x Help
    Replies: 2
    Last Post: Oct 01, 2009, 8:21 PM

Tags for this Thread

Posting Permissions