1. #1
    Ext JS Premium Member
    Join Date
    Mar 2007
    Location
    Virginia, USA
    Posts
    490
    Vote Rating
    -1
    vtswingkid is on a distinguished road

      0  

    Default password field is not defined in CSS (x-form-password)

    password field is not defined in CSS (x-form-password)


    I think the simple answer is to replace x-form-password with x-form-text in the ext library.

    In the meantime if have achieved this by including the text class in the password element.

    Code:
    			var field2 = new Ext.form.Field({
    				defaultAutoCreate : {tag: "input", type: "password", size: "20", autocomplete: "off"},
    				cls: 'x-form-text',
    				autoCreate: true
    			});
    			field2.render(dialog.body);

  2. #2
    Sencha User jack.slocum's Avatar
    Join Date
    Mar 2007
    Location
    Tampa, FL
    Posts
    6,955
    Vote Rating
    16
    jack.slocum will become famous soon enough

      0  

    Default


    Yep, I will add it in. By the way, you can use:

    Code:
    var field2 = new Ext.form.Field({
                autoCreate : {tag: "input", type: "password", size: "20", autocomplete: "off"},
                cls: 'x-form-text'
             });
             field2.render(dialog.body);
    The defaultAutoCreate is used if you use a boolean true, but you can also pass in your own config.

Similar Threads

  1. Ext.form cannot focus field in IE7
    By pomata in forum Ext 1.x: Help & Discussion
    Replies: 7
    Last Post: 3 May 2007, 11:14 AM
  2. Alpha3 , issue : Ext.form.Field constructor has changed
    By nseb in forum Ext 2.x: Help & Discussion
    Replies: 2
    Last Post: 8 Mar 2007, 3:51 AM
  3. Ext.form.Field readOnly
    By cebola in forum Ext 2.x: Help & Discussion
    Replies: 3
    Last Post: 2 Mar 2007, 8:52 AM
  4. User input for Password
    By matiz2909 in forum Ext 1.x: Help & Discussion
    Replies: 1
    Last Post: 23 Feb 2007, 1:04 PM
  5. Capturing key press in a form field
    By digerata in forum Ext 1.x: Help & Discussion
    Replies: 3
    Last Post: 17 Nov 2006, 8:33 PM

Thread Participants: 1

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar