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

index 98ce6ee..40c44bf 100644 (file)
@@ -136,7 +136,7 @@ Roo.extend(Roo.form.ComboNested, Roo.form.ComboBox, {
         il.setStyle({ 'overflow-x' : 'hidden'});
 
         if(!this.tpl){
-            new Roo.Template({
+            this.tpl = new Roo.Template({
                 html :  '<div class="'+cls+'-item '+cls+'-item-{cn:this.isEmpty}">{' + this.displayField + '}</div>',
                 isEmpty: function (value, allValues) {
                     return value.length ? 'has-children' : 'no-children'