Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13

Thread: Ext.Msg:prompt as password control

  1. #11
    Sencha User
    Join Date
    Feb 2008
    Posts
    39
    Vote Rating
    1
      0  

    Default

    Quote Originally Posted by scaddenp View Post
    (in the hope that it saves someone else some trouble)
    Thanks a lot @scaddenp, that's exactly what just happened with me!

  2. #12
    Sencha User
    Join Date
    Nov 2013
    Posts
    60
    Vote Rating
    1
      0  

    Default

    Code:
    Ext.Msg.prompt(
                'Welcome!',
                'What\'s your name going to be today?',
                function (buttonId, value) {
                    console.log(value);
                },
                null,
                false,
                null,
                {
                    autoCapitalize: true,
                    placeHolder: 'First-name please...',
                    xtype: 'passwordfield',
                    value: 'test'
                }
            );

  3. #13
    Sencha User
    Join Date
    Dec 2008
    Location
    France
    Posts
    321
    Vote Rating
    2
      0  

    Default

    Old thread...
    An other solution that works under Extjs 6.5.3

    https://joekuan.wordpress.com/2012/0...ox-on-extjs-4/

    Code:
    var msgbox = Ext.Msg.prompt('Password Prompt', 'Please enter a pasword');
    msgbox.textField.inputEl.dom.type = 'password';

Page 2 of 2 FirstFirst 12

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •