Roo/form/ComboNested.js
authorAlan Knowles <alan@roojs.com>
Fri, 7 Feb 2020 06:08:31 +0000 (14:08 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 7 Feb 2020 06:08:31 +0000 (14:08 +0800)
Roo/form/ComboNested.js

index a6af7b2..e971c50 100644 (file)
@@ -136,7 +136,7 @@ Roo.extend(Roo.form.ComboNested, Roo.form.ComboBox, {
         il.setStyle({ 'overflow-x' : 'hidden'});
 
         if(!this.tpl){
-            this.tpl = '<div class="'+cls+'-item">{' + this.displayField + '}</div>';
+            this.tpl = '<div class="'+cls+'-item '+cls+'-item-{cnlength}">{' + this.displayField + '}</div>';
         }
         
         var store  = this.store;