This module contains a reusable RangeField
type.
Form.Field.Field (Attributes number) (Maybe number) values
Represents a range field.
Note: You should not need to care about this unless you are creating your own custom fields or writing custom view code.
{ label : String
, step : number
, min : Maybe number
, max : Maybe number
, htmlAttributes : List ( String
, String )
}
The attributes of a RangeField.
You need to provide these to:
form : (RangeField number values -> field) -> Config number values output -> Form.Base.Form values output field
Builds a Form
with a single RangeField
.
Note: You should not need to care about this unless you are creating your own custom fields.