Looks like we can't reproduce the issue or there's a problem in the test case provided.
  1. #1
    Touch Premium Member
    Join Date
    Sep 2010
    Location
    Chicago, IL
    Posts
    25
    Vote Rating
    0
    balogb is on a distinguished road

      0  

    Default Build 311-TypeError: 'undefined' is not a function, Expand/Collapse Missing

    Build 311-TypeError: 'undefined' is not a function, Expand/Collapse Missing


    Couple of bugs to report:

    From a form, when I click on a select field (which is a linked class) in design view, I consistently get a TypeError: 'undefined' is not a function error. This seems like it is an issue with the custom select class as the error is on multiple forms. I have deleted the custom select class and re-created it, but continue to get the same error.
    The class:
    Code:
    Ext.define('Tft.view.idsubjectSelect', {    extend: 'Ext.field.Select',
        alias: 'widget.idsubjectSelect',
    
    
        config: {
            label: 'Subject',
            name: 'idsubject',
            displayField: 'names',
            store: 'subjectJsonStore',
            valueField: 'idsubject'
        }
    
    
    });
    In the forms:
    Code:
     items: [
                        {
                            xtype: 'idsubjectSelect'
                        }
    ]
    Also, I have noticed the expand and collapse options in the Project Inspector are gone. Not sure if this is an intended change or not.

    3-13-2012 1-59-37 PM.gif

  2. #2
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    8,189
    Vote Rating
    63
    aconran is just really nice aconran is just really nice aconran is just really nice aconran is just really nice aconran is just really nice

      0  

    Default


    Can you still reproduce the undefined error with the current build? #360

    The removal of expand/collapse was intentional.
    Aaron Conran
    @aconran
    Sencha Architect Development Team

  3. #3
    Touch Premium Member
    Join Date
    Sep 2010
    Location
    Chicago, IL
    Posts
    25
    Vote Rating
    0
    balogb is on a distinguished road

      0  

    Default


    Have not seen it in 360 (2 days of use now). It has been much less frequent over the last few weeks. It was only happening when a field promoted to class was viewed in design mode from the form (not directly on the field as class in inspector). Thanks.