feat: support form_binds in data_browser template for edit form cascading
This commit is contained in:
parent
3a8aff6b1b
commit
94c1e1dfe5
@ -42,6 +42,9 @@ data_browser_tmpl = """
|
||||
"update_data_url": "{{update_data_url}}"
|
||||
{% else %}
|
||||
"update_data_url":{%- raw -%}"{{entire_url('update_{%- endraw -%}{{summary[0].name}}{%- raw -%}.dspy')}}"{%- endraw %}
|
||||
{% endif %}
|
||||
{% if form_binds %}
|
||||
,"binds":{{json.dumps(form_binds, indent=4, ensure_ascii=False)}}
|
||||
{% endif %}
|
||||
},
|
||||
{% endif %}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user