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

index 08f04b7..c60c737 100644 (file)
@@ -2253,6 +2253,9 @@ Roo.extend(Roo.bootstrap.ComboBox, Roo.bootstrap.TriggerField, {
                 row.select('.roo-combobox-list-group-item-value', true).first().dom.innerHTML = d.data[this.displayField];
             }
             
+            if(rowIndex > 10){
+                return false;
+            }
         }, this);
         
     },