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 619e403 commit 341f1e9Copy full SHA for 341f1e9
Resources/views/Form/form_div_layout.html.twig
@@ -10,6 +10,10 @@
10
11
{%- block form_widget_simple -%}
12
{%- set type = type|default('text') -%}
13
+ {%- if type == 'range' or type == 'color' -%}
14
+ {# Attribute "required" is not supported #}
15
+ {%- set required = false -%}
16
+ {%- endif -%}
17
<input type="{{ type }}" {{ block('widget_attributes') }} {% if value is not empty %}value="{{ value }}" {% endif %}/>
18
{%- endblock form_widget_simple -%}
19
0 commit comments