{% extends "forms/field.html.twig" %}

{% block input_attributes %}
    type="range"
    {{ parent() }}
{% endblock %}

{% extends "forms/field.html.twig" %}

{% block input_attributes %}
    type="range"
    {% if field.validate.min %}min="{{ field.validate.min }}"{% endif %}
    {% if field.validate.max %}max="{{ field.validate.max }}"{% endif %}
    {{ parent() }}
{% endblock %}

Add min and max to range
Add min and max to range
