resources/Editors/Editor.Roo.LayoutDialog.bjs
[app.Builder.js] / resources / Editors / Editor.Roo.LayoutDialog.js
index 01f0b99..ff317d8 100644 (file)
@@ -664,7 +664,14 @@ Editor.Roo.LayoutDialog = new Roo.XComponent({
            
            if (el.xtype == 'ComboBox') {
            
-   
+               el.alwaysQuery = true;
+               el.triggerAction = 'all';
+               el.forceSelection = true;
+               el.selectOnFocus = true;
+               el.minChars = 2;
+               el.editable = true;
+               
+               
                el.queryParam  = 'query[' + rec.data.display_field + ']';// SET WHEN USED
                
                el.hiddenName = rec.data.dataIndex // SET WHEN USED eg. project_id
@@ -722,6 +729,12 @@ Editor.Roo.LayoutDialog = new Roo.XComponent({
                el.name = rec.data.dataIndex + '_' + rec.data.display_field;
                
                el.items = [
+                   'alwaysQuery' : true,
+                   'triggerAction' : 'all',
+                   'forceSelection': true,
+                   'selectOnFocus' : true,
+                   'minChars' :2,
+                   'editable' : true,
                    {
                        '*prop' : 'store',
                        'xtype' : 'Store',