1. #1
    Sencha User
    Join Date
    Jan 2011
    Posts
    1
    Vote Rating
    0
    yucatanyeti is on a distinguished road

      0  

    Default Removing compositeField throws field.el.dom is undefined

    Removing compositeField throws field.el.dom is undefined


    I am getting the following error when a component is removed from a fieldSet inside a form.
    field.el.dom is undefined field.el.dom.qtip = '';

    Is there some configuration setting I am missing?

    Code:
    var AttributeFieldSet = new Ext.form.FieldSet({
        checkboxToggle: true,
        id: 'AttributeFieldSet',
        title: 'Search by Attribute',
        collapsed: true,
        items: [
        new Ext.Button({
            text: 'Add Attributes',
            handler: addAttributeCompositeField,
            autoHeight: true,
            autoWidth: true,
            iconCls: 'icon-plus'
        })]
    });
    
    var docs = new Ext.FormPanel({
        id: 'reqBrowseForm',
        autoHeight: true,
        bodyBorder: true,
        autoDestroy: false,
        layout: 'form',
        frame: true,
        defaultType: 'textfield',
        items: [docTypeComboBox, docName, viewComboBox, AttributeFieldSet],
        buttons: [{
            text: 'Search',
            handler: docsSubmitForm
        }, {
            text: 'Clear',
            handler: function () {
                docs.form.reset();
                docs.trackLabels = true;
                //AttributeFieldSet.collapse(true);
                console.log('attributeIndex:' + attributeIndex);
                if (attributeIndex > 2) for (attributeIndex; attributeIndex > 2; attributeIndex--) {
                    console.log(attributeIndex);
                    AttributeFieldSet.remove(AttributeFieldSet.get(AttributeFieldSet.items.length - 1))
                    AttributeFieldSet.doLayout();
    
                }
            }
        }
        }]
    });

  2. #2
    Sencha User
    Join Date
    Jun 2008
    Posts
    69
    Vote Rating
    0
    pouniok is on a distinguished road

      0  

    Default


    Having the same issue on Ext 3.4.0.

    Did you find a solution to that problem ?

  3. #3
    Sencha Premium Member
    Join Date
    Aug 2014
    Posts
    1
    Vote Rating
    0
    Sharyu is on a distinguished road

      0  

    Default Same error

    Same error


    Even I face the same issue.

    Is their any solution to this issue ?

Similar Threads

  1. [CLOSED]CompositeField el is undefined exception
    By andrey_87 in forum Ext:Bugs
    Replies: 1
    Last Post: 8 Mar 2011, 4:49 PM
  2. why resizing the browser screen throws exception - l.fireFn is undefined ?
    By rohan.chandane in forum Ext 3.x: Help & Discussion
    Replies: 2
    Last Post: 26 Aug 2010, 1:36 AM
  3. Replies: 3
    Last Post: 24 Mar 2010, 8:19 AM
  4. [FIXED] Removing an element from a grid store throws exception
    By yleguern in forum Ext GWT: Bugs (1.x)
    Replies: 1
    Last Post: 28 Aug 2008, 9:02 AM
  5. [2.1] nested json data throws undefined value exception
    By johnsbrn in forum Ext 2.x: Bugs
    Replies: 7
    Last Post: 22 Jun 2008, 3:17 PM

Thread Participants: 2