NoRedInk/noredink-ui/7.4.0

NOTE: the latest version is 35.9.3

Nri.Ui.TextInput.V3

type alias Model value msg =
{ label : String
, isInError : Bool
, onInput : value -> msg
, placeholder : String
, value : value
, autofocus : Bool
, showLabel : Bool
, type_ : InputType value
}
view : Model value msg -> Html msg
writing : Model value msg -> Html msg

Input types

number : InputType (Maybe Int)

An input that allows number entry

text : InputType String

An input that allows text entry

Modules