method

range_field

Importance_1
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: ActionView::Helpers::FormBuilder
range_field public

Wraps ActionView::Helpers::FormHelper#range_field for form builders:

<%= form_with model: @user do |f| %>
  <%= f.range_field :age %>
<% end %>

Please refer to the documentation of the base helper for details.

Show source
Register or log in to add new notes.