Skip to content

Commit 2a75186

Browse files
ostroluckyfabpot
authored andcommitted
[Form] Deprecate searchAndRenderBlock returning empty string
1 parent 2dab4e2 commit 2a75186

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Resources/views/Form/form_div_layout.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@
398398
{# Support #}
399399

400400
{%- block form_rows -%}
401-
{% for child in form %}
401+
{% for child in form if not child.rendered %}
402402
{{- form_row(child) -}}
403403
{% endfor %}
404404
{%- endblock form_rows -%}

0 commit comments

Comments
 (0)