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:
parent
9356b8ae36
commit
ab7528420f
Binary file not shown.
@ -27,7 +27,7 @@ data_browser_tmpl = """
|
|||||||
"wid":"self",
|
"wid":"self",
|
||||||
"event":"submit",
|
"event":"submit",
|
||||||
"actiontype":"script",
|
"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);"
|
"script":"var tbl = bricks.getWidgetById('{{tblname}}_tbl', bricks.app.root); if(tbl) await tbl.render(params);"
|
||||||
}]
|
}]
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user