Results 1 to 2 of 2

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

    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
    220
    Vote Rating
    10
      0  

    Default 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 - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,551
    Vote Rating
    1271
      0  

    Default

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

Posting Permissions

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