diff --git a/api/js/etemplate/Et2Tree/Et2Tree.ts b/api/js/etemplate/Et2Tree/Et2Tree.ts index 8f2ab35c7c..48db229c79 100644 --- a/api/js/etemplate/Et2Tree/Et2Tree.ts +++ b/api/js/etemplate/Et2Tree/Et2Tree.ts @@ -558,6 +558,8 @@ export class Et2Tree extends Et2WidgetWithSelectMixin(LitElement) } else*/ { let item = this.getNode(_id); + // if the item does not exist in the tree yet no need to refresh + if(item == null) return return this.handleLazyLoading(item).then((result) => { item.item = [...result.item] this.requestUpdate("_selectOptions")