bootstrap_form
bootstrap_form copied to clipboard
Range control has wrong class
trafficstars
<%= f.range_field :excellence %> generates:
<div class="mb-3">
<label class="form-label" for="user_excellence">Excellence</label>
<input class="form-control" id="user_excellence" name="user[excellence]" type="range">
</div>
According to the Bootstrap 5 docs, the input should have the class form-range, not form-control.