Roo/bootstrap/ComboBox.js
authoredward <edward@roojs.com>
Fri, 15 Jan 2016 04:11:47 +0000 (12:11 +0800)
committeredward <edward@roojs.com>
Fri, 15 Jan 2016 04:11:47 +0000 (12:11 +0800)
Roo/bootstrap/ComboBox.js

index f17ad4e..08f04b7 100644 (file)
@@ -2248,9 +2248,10 @@ Roo.extend(Roo.bootstrap.ComboBox, Roo.bootstrap.TriggerField, {
         
         this.store.data.each(function(d, rowIndex){
             var row =_this.touchViewListGroup.createChild(template);
-            Roo.log(d);
-            return;
             
+            if(this.displayField && typeof(d.data[this.displayField]) != 'undefined'){
+                row.select('.roo-combobox-list-group-item-value', true).first().dom.innerHTML = d.data[this.displayField];
+            }
             
         }, this);