Results 1 to 2 of 2

Thread: Ext InputType not working on field

  1. #1

    Question Ext InputType not working on field

    Here is my javascript, I want my password field to be a password field.

    Ext.onReady(function() {
        new Ext.form.TextField({
            applyTo: 'username',
            inputType: 'password'
        new Ext.form.TextField({
            applyTo: 'password',
            inputType: 'password'
    It doesn't mask it though... what is wrong? Why is this not working? Thanks

  2. #2
    Sencha User
    Join Date
    Mar 2007
    The Netherlands


    A field will use the 'name' and 'inputType' of the <input> tag when you use applyTo.

Posting Permissions

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