Skip to content

Commit 8d18981

Browse files
authored
fix ImmutableArrayType field and it subfields helper message are not displayed (#8329)
1 parent af59718 commit 8d18981

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Resources/views/Form/form_admin_fields.html.twig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -417,6 +417,8 @@ file that was distributed with this source code.
417417

418418
{% block sonata_type_immutable_array_widget %}
419419
<div {{ block('widget_container_attributes') }}>
420+
{{ form_help(form) }}
421+
420422
{{ form_errors(form) }}
421423

422424
{% for key, child in form %}
@@ -439,6 +441,7 @@ file that was distributed with this source code.
439441

440442
<div class="{{ div_class }} sonata-ba-field sonata-ba-field-{{ sonata_admin.edit }}-{{ sonata_admin.inline }}{% if child.vars.errors|length > 0 %} sonata-ba-field-error{% endif %}">
441443
{{ form_widget(child, {'horizontal': false, 'horizontal_input_wrapper_class': ''}) }} {# {'horizontal': false, 'horizontal_input_wrapper_class': ''} needed to avoid MopaBootstrapBundle messing with the DOM #}
444+
{{ form_help(child) }}
442445
</div>
443446

444447
{% if child.vars.errors|length > 0 %}

0 commit comments

Comments
 (0)