diff --git a/api/js/etemplate/et2_extension_nextmatch.ts b/api/js/etemplate/et2_extension_nextmatch.ts index 9e013f1496..0de1073379 100644 --- a/api/js/etemplate/et2_extension_nextmatch.ts +++ b/api/js/etemplate/et2_extension_nextmatch.ts @@ -3685,7 +3685,16 @@ export class et2_nextmatch_header_bar extends et2_DOMWidget implements et2_INext }, 1); break; } - self._bindHeaderInput(header); + // Give child templates a chance to load before we bind inputs + let children = []; + header.iterateOver((_widget) => + { + children.push(_widget.loading); + }, this, et2_template); + Promise.all(children).then(() => + { + self._bindHeaderInput(header); + }); }); }