Roo/form/ComboBoxArray.js
authorAlan Knowles <alan@roojs.com>
Wed, 2 May 2012 05:03:10 +0000 (13:03 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 2 May 2012 05:03:10 +0000 (13:03 +0800)
Roo/form/ComboBoxArray.js

index 94b5acb..573c982 100644 (file)
@@ -57,14 +57,27 @@ Roo.form.ComboBoxArray = function(config)
    
     
 }
-Roo.extend(Roo.form.ComboBoxArray, Roo.form.Field
+ Roo.extend(Roo.form.Hidden, Roo.form.TextField, {
+   
+
+
+});
+Roo.extend(Roo.form.ComboBoxArray, Roo.form.TextField
 { 
     /**
      * @cfg {Roo.form.Combo} combo The combo box that is wrapped
      */
     
     lastData : false,
+    
+    // behavies liek a hiddne field
+    inputType:      'hidden',
+    /**
+     * @cfg {Number} width The width of the box that displays the selected element
+     */ 
+    width:          300,
+
+    // private the array of items that are displayed..
     items  : false,