Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions src/Resources/views/Form/accessible-forms.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -241,14 +241,6 @@
{% endif %}
{% endblock birthday_widget %}

{# Remove the required attribute from the element (disable frontend validation) #}
{%- block widget_attributes -%}
id="{{ id }}" name="{{ full_name }}"
{%- if disabled %} disabled="disabled"{% endif -%}
{% set attr = attr|merge({'required': false}) %}
{{ block('attributes') }}
{%- endblock widget_attributes -%}

{# Custom HTML block #}
{%- block html_row -%}
{{ html }}
Expand Down
Loading