resources/Editors/Editor.Roo.LayoutDialog.bjs
[app.Builder.js] / resources / Editors / Editor.Roo.LayoutDialog.js
index a4c8fef..e263d60 100644 (file)
@@ -574,6 +574,10 @@ Editor.Roo.LayoutDialog = new Roo.XComponent({
                field_type = 'ComboBox';
            }
            
+           if(r.Field == 'id'){
+               field_type = 'Hidden';
+           }
+           
            
            
            var o = {
@@ -582,7 +586,7 @@ Editor.Roo.LayoutDialog = new Roo.XComponent({
                type : r.Type,
                title : r.Field,
                width : 200,
-               ftype : 'TextField',
+               ftype : field_type,
                display_field : rc, //r.Field + '_display_name',
                relates_to_table : rt,
                relates_to_col : rc,