PDA

View Full Version : [2.0a1][SOLVED] - DatePicker renderTo config produces an error:


jgarcia@tdg-i.com
10-02-2007, 10:34 AM
Using ext-all.js, line 84, the date picker declaration produces an error.


myDatePicker = new Ext.DatePicker({
renderTo: 'myDiv',
handler : function(dp, date){
Ext.example.msg('Date Selected', 'You chose {0}.', date.format('M j, Y'));
}
});


The following works:

myDatePicker = new Ext.DatePicker({
handler : function(dp, date){
Ext.example.msg('Date Selected', 'You chose {0}.', date.format('M j, Y'));
}
});
myDatePicker.render('myDiv');

jsakalos
10-02-2007, 04:51 PM
Notifying Jack on this.

cyberwizzard
10-09-2007, 08:58 AM
I'd like to comfirm this issue. The error originated by some variable called W.

On a side note: ExtJS rocks! :D

jack.slocum
10-09-2007, 09:05 AM
This is fixed in SVN. Thanks.