fix: InlineForm search bind uses actiontype script to pass form values to Tabular.render()

actiontype:method calls render() without args, losing search params.
Changed to actiontype:script with getWidgetById + await tbl.render(params)
which correctly receives merged InlineForm submit data as params argument.
This commit is contained in:
Hermes Agent 2026-06-22 12:09:25 +08:00
parent 5295a1ce8f
commit 66bd6339df
2 changed files with 2 additions and 2 deletions

View File

@ -26,9 +26,9 @@ data_browser_tmpl = """
"binds":[{
"wid":"self",
"event":"submit",
"actiontype":"method",
"actiontype":"script",
"target":"{{tblname}}_tbl",
"method":"render"
"script":"var tbl = bricks.getWidgetById('{{tblname}}_tbl', bricks.app.root); if(tbl) await tbl.render(params);"
}]
},
{% endif %}