N°8772 - WIP dependencies - Does not work yet

This commit is contained in:
Eric Espie
2025-11-04 09:05:29 +01:00
parent 0909ddfb3a
commit 5a1f6ffde9
7 changed files with 60 additions and 24 deletions

View File

@@ -5,7 +5,7 @@
{%- block widget_attributes -%}
{{- parent() -}}
{% if trigger_form_submit_on_modify %}
onChange="this.form.setAttribute('novalidate', true); this.form.requestSubmit();console.log('Auto submitting form due to change in field {{ full_name }}');"
onChange="triggerTurbo(this);"
{% endif %}
{%- endblock widget_attributes -%}
@@ -48,7 +48,7 @@
{%- block form_rows -%}
{% for block in blocks %}
<div id="block_{{ block.name }}" class="ibo-field ibo-content-block ibo-block ibo-field-small">
<div id="block_{{ block.identifier }}" class="ibo-field ibo-content-block ibo-block ibo-field-small">
{{ block.name }} {{ block.added }}
{% if block.added == 1 %}
{{ form_row(form[block.name]) }}