fix: InlineForm bind target uses app. prefix for sibling resolution

InlineForm is a child of VBox, Tabular is a sibling. Without app. prefix,
getWidgetById searches downward from InlineForm and never finds the sibling
Tabular, causing silent bind failure (no request, no error).
This commit is contained in:
Hermes Agent 2026-06-22 12:16:55 +08:00
parent 9356b8ae36
commit ab7528420f
2 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ data_browser_tmpl = """
"wid":"self",
"event":"submit",
"actiontype":"script",
"target":"{{tblname}}_tbl",
"target":"app.{{tblname}}_tbl",
"script":"var tbl = bricks.getWidgetById('{{tblname}}_tbl', bricks.app.root); if(tbl) await tbl.render(params);"
}]
},