Roo/form/ComboBoxArray.js
authorAlan Knowles <alan@roojs.com>
Wed, 2 May 2012 04:00:49 +0000 (12:00 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 2 May 2012 04:00:49 +0000 (12:00 +0800)
Roo/form/ComboBoxArray.js

index ff936ef..435fa72 100644 (file)
@@ -40,12 +40,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..