Convert the whole request to json at once on select widget

This commit is contained in:
2024-10-21 17:11:07 +02:00
parent 3eb3feea49
commit e583e78a4e
3 changed files with 19 additions and 17 deletions

View File

@ -9,5 +9,5 @@
<optgroup label="{{ group_name }}">{% endif %}{% for widget in group_choices %}
{% include widget.template_name %}{% endfor %}{% if group_name %}
</optgroup>{% endif %}{% endfor %}
{% for sel in selected %}<slot style="display: none">{{ sel }}</slot>{% endfor %}
{% if initial %}<slot style="display:none" name="initial">{{ initial }}</slot>{% endif %}
</{{ component }}>