PDA

View Full Version : Why the extjs4.2.3 datefied picker may close when click the arrow



Fent2
13 Jan 2015, 4:24 AM
Like the picture,when click the arrow to select another year, the picker may close ,
that mean it can not select the year,but this component is OK in the version 4.2.1,
or their some para to set for it ?
http://www.sencha.com/forum/attachment.php?attachmentid=51494&stc=1&d=1421151717
My code like this:
Ext.onReady(function(){
Ext.create('Ext.form.Panel', {
renderTo: Ext.getBody(),
width: 300,
bodyPadding: 10,
title: 'Dates',
items: [{
xtype: 'datefield',
anchor: '100%',
fieldLabel: 'From',
name: 'from_date',
maxValue: new Date() // limited to the current date or prior
}, {
xtype: 'datefield',
anchor: '100%',
fieldLabel: 'To',
name: 'to_date',
value: new Date() // defaults to today
}

]
});

});

Gary Schlosberg
13 Jan 2015, 2:15 PM
It's a known issue, and has been fixed for 4.2.4.

This thread seems to have a workaround:
http://www.sencha.com/forum/showthread.php?292889