Module: StimulusPlumbers::Form::Fields::Inputs::Range
- Includes:
- Components::Progress::Shared
- Included in:
- Builder
- Defined in:
- lib/stimulus_plumbers/form/fields/inputs/range.rb
Overview
A range is a track and a thumb, not a text box, so it takes none of the text input's
chrome. With format: it grows a readout driven by the progress controller.
Constant Summary
Constants included from Components::Progress::Shared
Components::Progress::Shared::FORMATS
Instance Method Summary collapse
Instance Method Details
#range_field(attribute, **options) ⇒ Object
12 13 14 |
# File 'lib/stimulus_plumbers/form/fields/inputs/range.rb', line 12 def range_field(attribute, **) super(attribute, (theme.resolve(:form_field_input_range), .except(:floating))) end |