mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-21 23:43:17 +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,8 +3685,17 @@ export class et2_nextmatch_header_bar extends et2_DOMWidget implements et2_INext
|
||||
}, 1);
|
||||
break;
|
||||
}
|
||||
// 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