From e4fb689b6944ad1236916702139465fb11018bcf Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Mon, 10 Feb 2020 15:55:53 +0800 Subject: [PATCH] Roo/form/ComboNested.js --- Roo/form/ComboNested.js | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/Roo/form/ComboNested.js b/Roo/form/ComboNested.js index 83469c66f7..04b31717b5 100644 --- a/Roo/form/ComboNested.js +++ b/Roo/form/ComboNested.js @@ -389,18 +389,17 @@ Roo.extend(Roo.form.ComboNested, Roo.form.ComboBox, { cstore.loadDataFromChildren( r); var cret = _this.findRecordInStore(cstore, prop, value); if (cret !== false) { - record = r; + var ix = store.getIndexOf(r); + this.views[lvl].select(ix, false, true); // will not trigger select change.. + this.store.loadDataFromChildren(r); // will trigger load. + this.selectActive(lvl+1); return false; } } return true; }); - if (record !== false) { - var ix = store.getIndexOf(record); - this.views[lvl].function(ix, false, true); // will not trigger select change.. - } - + } -- 2.39.2