allow string based values for comboboxarray
[roojs1] / Roo / bootstrap / Element.js
index ad39ca8..bed0e4a 100644 (file)
@@ -13,6 +13,7 @@
  * @cfg {String} tag tag of the element
  * @cfg {String} cls class of the element
  * @cfg {Boolean} preventDefault (true|false) default false
+ * @cfg {Boolean} clickable (true|false) default false
  * 
  * @constructor
  * Create a new Element
@@ -40,14 +41,15 @@ Roo.extend(Roo.bootstrap.Element, Roo.bootstrap.Component,  {
     cls: '',
     html: '',
     preventDefault: false, 
+    clickable: false,
     
     getAutoCreate : function(){
         
         var cfg = {
             tag: this.tag,
-            cls: this.cls,
+            // cls: this.cls, double assign in parent class Component.js :: onRender
             html: this.html
-        }
+        };
         
         return cfg;
     },