fix: use editable.binds instead of form_binds for cascading dropdown support
This commit is contained in:
parent
94c1e1dfe5
commit
1d0a187fca
@ -43,8 +43,8 @@ data_browser_tmpl = """
|
|||||||
{% else %}
|
{% else %}
|
||||||
"update_data_url":{%- raw -%}"{{entire_url('update_{%- endraw -%}{{summary[0].name}}{%- raw -%}.dspy')}}"{%- endraw %}
|
"update_data_url":{%- raw -%}"{{entire_url('update_{%- endraw -%}{{summary[0].name}}{%- raw -%}.dspy')}}"{%- endraw %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if form_binds %}
|
{% if editable.binds %}
|
||||||
,"binds":{{json.dumps(form_binds, indent=4, ensure_ascii=False)}}
|
,"binds":{{json.dumps(editable.binds, indent=4, ensure_ascii=False)}}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
},
|
},
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user