roojs-ui.js
[roojs1] / roojs-debug.js
index 3084bf9..618ea92 100644 (file)
@@ -38161,7 +38161,7 @@ monthField.setValue('2006-5-4');
     // 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);
@@ -38170,7 +38170,7 @@ monthField.setValue('2006-5-4');
         }
         if (v) {
             // 
-            v = Date.parseDate(date.format('Y-m-01'));
+            v = Date.parseDate(v.format('Y-m') +'-01', 'Y-m-d');
         }
         
         
@@ -39027,6 +39027,9 @@ Roo.extend(Roo.form.ComboBox, Roo.form.TriggerField, {
         this.setValue(this.originalValue);
         this.clearInvalid();
         this.lastData = false;
+        if (this.view) {
+            this.view.clearSelections();
+        }
     },
     // private
     findRecord : function(prop, value){