1. #11
    Sencha User
    Join Date
    Feb 2008
    Posts
    39
    Vote Rating
    1
    cjauvin is on a distinguished road

      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
    MarcoScherer is on a distinguished road

      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'
                }
            );