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:
parent
5295a1ce8f
commit
66bd6339df
Binary file not shown.
@ -26,9 +26,9 @@ data_browser_tmpl = """
|
|||||||
"binds":[{
|
"binds":[{
|
||||||
"wid":"self",
|
"wid":"self",
|
||||||
"event":"submit",
|
"event":"submit",
|
||||||
"actiontype":"method",
|
"actiontype":"script",
|
||||||
"target":"{{tblname}}_tbl",
|
"target":"{{tblname}}_tbl",
|
||||||
"method":"render"
|
"script":"var tbl = bricks.getWidgetById('{{tblname}}_tbl', bricks.app.root); if(tbl) await tbl.render(params);"
|
||||||
}]
|
}]
|
||||||
},
|
},
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user