Range
Supported products
- Central CMS
- Central Forms
- Central Connect
Generates a range slider input.
Basic usage
- Twig
- HTML
{{
form.range({
'label': 'My label',
'id': 'range-1',
'name': 'range-1'
})
}}
<div class="form__group form-range">
<label for="range-1" class="control__label">My label</label>
<div class="controls">
<input id="range-1" name="range-1" type="range" class="form__control" />
</div>
</div>
Helper options
You can configure this helper using the common helper options.