I am currently having an issue with the xtype=datefield.
Currently my code looks like this:
xtype: 'datefield',
id: 'publishfromdate',
width: 241,
height: 28,
editable: false,
value: Ext.Date.add(new Date(), Ext.Date.DAY, -1),
maxValue: new Date(),
minValue: Ext.Date.add(new Date(), Ext.Date.DAY, -30),
showToday: false,
anchor:'100%',
The issue is that the same date in every month gets highlighted. What I mean is if value is April 1, then March 1, February 1, etc are all highlighted as they have the CSS style x-datepicker-selected appended to them.
I am unsure on how to resolve this issue because the code seems to look correct and be working correctly? Does anyone have an idea is this something simple I am not seeing?
Any help that can be offered would be greatly appreciated! (Using ExtJS 4.2.2)
Currently my code looks like this:
xtype: 'datefield',
id: 'publishfromdate',
width: 241,
height: 28,
editable: false,
value: Ext.Date.add(new Date(), Ext.Date.DAY, -1),
maxValue: new Date(),
minValue: Ext.Date.add(new Date(), Ext.Date.DAY, -30),
showToday: false,
anchor:'100%',
The issue is that the same date in every month gets highlighted. What I mean is if value is April 1, then March 1, February 1, etc are all highlighted as they have the CSS style x-datepicker-selected appended to them.
I am unsure on how to resolve this issue because the code seems to look correct and be working correctly? Does anyone have an idea is this something simple I am not seeing?
Any help that can be offered would be greatly appreciated! (Using ExtJS 4.2.2)
Aucun commentaire:
Enregistrer un commentaire