Success! Looks like we've fixed this one. According to our records the fix was applied for EXTJS-9274 in 4.2.1.744.
  1. #1
    Ext JS Premium Member
    Join Date
    Jun 2011
    Location
    St. Louis
    Posts
    212
    Vote Rating
    9
    jimmylu98 will become famous soon enough

      0  

    Default extjs 4.2.0: filefield in fieldset will cause textfield focus to fielfield broswe

    extjs 4.2.0: filefield in fieldset will cause textfield focus to fielfield broswe


    If a fieldfield and a textfield are in the same fieldset, when try to focus to textfield (in the example is 'Subject' ), will bring the browse in extjs 4.2.0. User will not be able to type in the text field.

    extjs 4.1.1a is OK.

    See attached test code. tested with FF and Chrome.

    PHP Code:

    Ext
    .onReady(function() {

        var 
    form Ext.create('Ext.form.Panel', {
        
    layout'anchor',
            
    borderfalse,
            
    defaultType'textfield',
            
    bodyPadding5,
        
    width800,
            
    items: [{
            
    xtype'fieldset',
            
    flex1,
            
    layout: { type'hbox'align'stretch'pack'start'    },
            
    items:[{    
                
    xtype'textfield',      
                
    fieldLabel'Subject',
                    
    name'subject',
                    
    flex1,
            }, { 
                
    xtype'filefield',
                
    fieldLabel'Image',
                
    name'Image',
                
    flex2,
                
    allowBlanktrue,
                
    value'',
                
    emptyText'Select File'
            
    }]
            }],
        
    renderToExt.getBody()
        });


    }); 

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,642
    Vote Rating
    899
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    Thanks for the report! I have opened a bug in our bug tracker.

Thread Participants: 1