Tuesday, 13 February 2018

Sencha Extjs How to make textfield as password field

Today am going to tell basic thing how to make textfield like as a password field.

We have predefind component for modern but not for classic  so we have to make with inputType config.


writing at the time of field declaration. using inputType config.


        xtype: 'textfield',
        name: 'password',
        msgTarget: 'under',
        allowBlank: false,
        labelSeparator: '',
        fieldLabel: 'Password',
        maxLength: 16,
        enforceMaxLength: true,
        reference: 'password',
        inputType: 'password'



No comments:

Post a Comment