-
13 Mar 2012 11:00 AM #1
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:
In the forms:Code:Ext.define('Tft.view.idsubjectSelect', { extend: 'Ext.field.Select', alias: 'widget.idsubjectSelect', config: { label: 'Subject', name: 'idsubject', displayField: 'names', store: 'subjectJsonStore', valueField: 'idsubject' } });
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.Code:items: [ { xtype: 'idsubjectSelect' } ]
3-13-2012 1-59-37 PM.gif
-
4 Apr 2012 10:33 PM #2
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
-
5 Apr 2012 7:11 AM #3
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.
Looks like we can't reproduce the issue or there's a problem in the test case provided.


Reply With Quote