From: Alan Knowles Date: Mon, 10 Feb 2020 08:00:01 +0000 (+0800) Subject: roojs-all.js X-Git-Url: http://git.roojs.org/?p=roojs1;a=commitdiff_plain;h=e468362103cf42e205dcb14c197329b3c566aef9 roojs-all.js roojs-debug.js Roo/form/ComboNested.js --- diff --git a/Roo/form/ComboNested.js b/Roo/form/ComboNested.js index d81bce3d11..19e53812ee 100644 --- a/Roo/form/ComboNested.js +++ b/Roo/form/ComboNested.js @@ -369,15 +369,17 @@ Roo.extend(Roo.form.ComboNested, Roo.form.ComboBox, { data : [ ] }); // just need to determine which of the current level is selected if any.. - var value = this.getValue(); - var prop = this.hiddenName; + var store = this.stores[lvl]; - var _this = this; + if(store.getCount() < 1){ return; } + var value = this.getValue(); + var prop = this.hiddenName; + var _this = this; store.each(function(r){ // selected is at this level if(r.data[prop] == value){