axelerator/fancy-forms/3.0.0

NOTE: the latest version is 7.0.1

FancyForms.Widgets.Float

An float input widget.

floatInput : List (Attribute Msg) -> Widget Model Msg Float customError

A widget that collects an Float

Validators

greaterThan : Float -> Float -> List (Error customError)

A validator function that ensures the value is greater than x

lesserThan : Float -> Float -> List (Error customError)

A validator function that ensures the value is less than x