From 4282ae7b95f39141b08c73c37ea726f5241cf741 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Fri, 7 Feb 2020 15:50:12 +0800 Subject: [PATCH] Roo/form/ComboNested.js --- Roo/form/ComboNested.js | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/Roo/form/ComboNested.js b/Roo/form/ComboNested.js index d9661da3fd..a541600391 100644 --- a/Roo/form/ComboNested.js +++ b/Roo/form/ComboNested.js @@ -221,7 +221,17 @@ Roo.extend(Roo.form.ComboNested, Roo.form.ComboBox, { // -- store handlers.. - + // private + onBeforeLoad : function() + { + if(!this.hasFocus){ + return; + } + this.innerList[0].update(this.loadingText ? + '
'+this.loadingText+'
' : ''); + this.restrictHeight(); + this.selectedIndex = -1; + }, // private onLoad : function(a,b,c,d) { -- 2.39.2