Upgrade to ExtJS 4.0.7 - Released 10/19/2011
[extjs.git] / examples / form / xml-form.js
index 32ef68a..be364c7 100644 (file)
@@ -101,7 +101,8 @@ Ext.onReady(function(){
                     xtype: 'datefield',
                     fieldLabel: 'Date of Birth',
                     name: 'dob',
-                    allowBlank: false
+                    allowBlank: false,
+                    maxValue: new Date()
                 }
             ]
         }],