We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7398499 commit d4516ccCopy full SHA for d4516cc
Resources/views/Form/form_div_layout.html.twig
@@ -309,7 +309,7 @@
309
<div>
310
{{- form_label(form) -}}
311
{{- form_errors(form) -}}
312
- {{- form_widget(form) -}}
+ {{- form_widget(form, { 'helpBlockDisplayed': true }) -}}
313
{{- form_help(form) -}}
314
</div>
315
{%- endblock form_row -%}
@@ -397,6 +397,7 @@
397
id="{{ id }}" name="{{ full_name }}"
398
{%- if disabled %} disabled="disabled"{% endif -%}
399
{%- if required %} required="required"{% endif -%}
400
+ {%- if helpBlockDisplayed is defined and helpBlockDisplayed and help is not empty %} aria-describedby="{{ id }}HelpBlock"{% endif -%}
401
{{ block('attributes') }}
402
{%- endblock widget_attributes -%}
403
0 commit comments