Skip to content

Commit

Permalink
Document .form-control-range. (#25839)
Browse files Browse the repository at this point in the history
  • Loading branch information
Varunram authored and XhmikosR committed Mar 13, 2018
1 parent 4d5c592 commit 03b7f52
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions docs/4.0/components/forms.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,19 @@ Set heights using classes like `.form-control-lg` and `.form-control-sm`.
</select>
{% endexample %}

## Range Inputs

Set horizontally scrollable range inputs using `.form-control-range`.

{% example html %}
<form>
<div class="form-group">
<label for="formControlRange">Example Range input</label>
<input type="range" class="form-control-range" id="formControlRange">
</div>
</form>
{% endexample %}

### Readonly

Add the `readonly` boolean attribute on an input to prevent modification of the input's value. Read-only inputs appear lighter (just like disabled inputs), but retain the standard cursor.
Expand Down

0 comments on commit 03b7f52

Please sign in to comment.