@@ -94,7 +94,11 @@ Ext.define('saas.util.FormUtil', {
c.cls = 'x-grid-necessary';
}
- if(c.xtype == 'datecolumn') {
+ if(c.xtype == 'textfield') {
+ Ext.applyIf(c, {
+ maxLength: 50
+ });
+ }else if(c.xtype == 'datecolumn') {
Ext.applyIf(c, {
format: 'Y-m-d'
});