bootstrap_form icon indicating copy to clipboard operation
bootstrap_form copied to clipboard

Range control has wrong class

Open joeroe opened this issue 2 years ago • 3 comments
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.

joeroe avatar Apr 17 '23 07:04 joeroe