PDA

View Full Version : [CLOSED] Build 311-TypeError: 'undefined' is not a function, Expand/Collapse Missing



balogb
13 Mar 2012, 11:00 AM
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:


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:


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.

32700

aconran
4 Apr 2012, 10:33 PM
Can you still reproduce the undefined error with the current build? #360

The removal of expand/collapse was intentional.

balogb
5 Apr 2012, 7:11 AM
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.