Roo/form/ComboBoxArray.js
[roojs1] / roojs-debug.js
index 9cff7e6..ad07bc3 100644 (file)
@@ -38502,12 +38502,18 @@ Roo.extend(Roo.form.ComboBoxArray, Roo.form.ComboBox,
     lastData : false,
     items  : false,
     
+    
+   /**
+     * @cfg {String} nameField The field to take the 'descriptive' display name from
+     */
     nameField : 'name',
+    /**
+     * @cfg {String} idField The field to take the hidden 'id' data from
+     */
+    idField : 'id',
     
     tipField : 'email',
     
-    idField : 'id',
-    
     renderer : false,
     
     hiddenName : false, // set this if you want a , sperated list of values in it for form posting..
@@ -38527,9 +38533,9 @@ Roo.extend(Roo.form.ComboBoxArray, Roo.form.ComboBox,
     {
          
         Roo.form.ComboBoxArray.superclass.onRender.call(this, ct, position); 
-        this.wrap.addClass('p-cblist-grp');
+        this.wrap.addClass('x-cbarray-grp');
         var cbwrap = this.wrap.createChild(
-            {tag: 'div', cls: 'p-cblist-cb'},
+            {tag: 'div', cls: 'x-cbarray-cb'},
             this.el.dom
         );  
         if (this.hiddenListName) {
@@ -38687,7 +38693,7 @@ Roo.form.ComboBoxArray.Item = function(config) {
 Roo.extend(Roo.form.ComboBoxArray.Item, Roo.BoxComponent, {
     data : {},
     cb: false,
-    defaultAutoCreate : {tag: 'div', cls: 'p-cblist-item', cn : [ 
+    defaultAutoCreate : {tag: 'div', cls: 'x-cbarray-item', cn : [ 
             { tag: 'div' },
             { tag: 'img', width:16, height : 16, src : Roo.BLANK_IMAGE_URL , align: 'center' }
         ]