mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 08:34:29 +01:00
Give nextmatch header templates a chance to load their children before binding to inputs
Fixes inputs in nested templates did not submit nm
This commit is contained in:
parent
92b0beb134
commit
f9de309e2c
@ -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);
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user