From 1d0a187fcaf6b96683af79cdb920e0e33c4ee337 Mon Sep 17 00:00:00 2001 From: Hermes Agent Date: Wed, 24 Jun 2026 12:18:45 +0800 Subject: [PATCH] fix: use editable.binds instead of form_binds for cascading dropdown support --- xls2ddl/tmpls.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xls2ddl/tmpls.py b/xls2ddl/tmpls.py index 6112568..0b9f615 100644 --- a/xls2ddl/tmpls.py +++ b/xls2ddl/tmpls.py @@ -43,8 +43,8 @@ data_browser_tmpl = """ {% 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)}} +{% if editable.binds %} + ,"binds":{{json.dumps(editable.binds, indent=4, ensure_ascii=False)}} {% endif %} }, {% endif %}