examples/form/dynamic.js
authorChris <chris@roojs.com>
Thu, 18 Oct 2012 10:02:54 +0000 (18:02 +0800)
committerChris <chris@roojs.com>
Thu, 18 Oct 2012 10:02:54 +0000 (18:02 +0800)
examples/form/dynamic.js

index ed10115..d66a7c9 100644 (file)
@@ -325,7 +325,13 @@ Roo.onReady(function(){
             name: 'dob',
             width:190,
             allowBlank:false
-        })
+        }),
+        new Roo.form.MonthField({
+                        fieldLabel: 'Date of Month',
+                        name: 'dom',
+                        width:190,
+                        allowBlank:false
+                    })
     );
 
     fs.addButton('Save');