Roo/form/MonthField.js
authorAlan Knowles <alan@roojs.com>
Mon, 22 Oct 2012 09:27:08 +0000 (17:27 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 22 Oct 2012 09:27:08 +0000 (17:27 +0800)
Roo/form/MonthField.js

index 0962d30..0cfeb92 100644 (file)
@@ -254,6 +254,7 @@ monthField.setValue('2006-5-4');
             this.hiddenField.value = this.formatDate(this.parseDate(date), 'Y-m-d');
         }
         Roo.form.MonthField.superclass.setValue.call(this, this.formatDate(this.parseDate(date)));
+        this.value = this.parseDate(date);
     },
 
     // private