// private
parseDate : function(value){
if(!value || value instanceof Date){
- value = value ? Date.parseDate(value.format('Y-m-01')) : null;
+ value = value ? Date.parseDate(value.format('Y-m') + '-01', 'Y-m-d') : null;
return value;
}
var v = Date.parseDate(value, this.format);
}
if (v) {
//
- v = Date.parseDate(date.format('Y-m-01'));
+ v = Date.parseDate(v.format('Y-m') +'-01', 'Y-m-d');
}
this.setValue(this.originalValue);
this.clearInvalid();
this.lastData = false;
+ if (this.view) {
+ this.view.clearSelections();
+ }
},
// private
findRecord : function(prop, value){