input--range
This component only contains an input of type range and no corresponding label. This component can therefore not be used on its own, but should always be used via form/form-element.
Information
- Folder
src/components/fsk/form/form-element/input/input--range
Files
Schema
Mocks
Template
// src/components/fsk/form/form-element/input/input--range/input--range.html.twig
<input{{ attributes ? attributes|without("id", "class", "type", "disabled", "required") : "" }}
{% if attributes.id %}id="{{ attributes.id }}"{% endif %}
class="FskInput {{ attributes.class }}"
type="range"
{% if attributes.disabled %} disabled{% endif %}
{% if attributes.required %} required{% endif %}
{% if "error" in attributes.class %} aria-invalid="true"{% endif %}
>{{ children }}