2
0
mirror of https://github.com/esiur/iui.git synced 2025-06-27 17:33:12 +00:00
This commit is contained in:
2024-02-28 22:10:39 +03:00
parent b601d541cc
commit 22a2a2e413
3 changed files with 12 additions and 6 deletions

View File

@ -359,8 +359,10 @@ export class IUI {
// @TODO should check if the element depends on parent or not
if (el.dataMap != null) {
// if map function failed to call setData, we will render without it
if (!(await el.dataMap.render(data)))
await el.render();
if (!(await el.dataMap.render(data))){
// @BUG @TODO this causes stackoverflow
// await el.render();
}
}
else {
await el.setData(data);