axelerator/fancy-forms/1.0.0

NOTE: the latest version is 7.0.1

FancyForms.Widgets.Int

An integer input widget.

integerInput : List (Attribute Msg) -> Widget Model Msg Int customError

A widget that collects an Int

Validators

greaterThan : Int -> Model -> List (Error customError)

A validator function that ensures the value is greater than x

lesserThan : Int -> Model -> List (Error customError)

A validator function that ensures the value is less than x