uncover-co / elm-widgets-alpha / W.InputAutocomplete

view : List (Attribute msg) -> { id : String, value : Value a, options : Maybe (List a), onInput : Value a -> msg } -> Html msg

Value

init : { value : Maybe a, toString : a -> String } -> Value a

toString : Value a -> String

toValue : Value a -> Maybe a


type Value a

States

disabled : Basics.Bool -> Attribute msg

readOnly : Basics.Bool -> Attribute msg

Styles

placeholder : String -> Attribute msg

prefix : List (Html msg) -> Attribute msg

suffix : List (Html msg) -> Attribute msg

Validation Attributes

required : Basics.Bool -> Attribute msg

Actions

onEnter : msg -> Attribute msg

onBlur : msg -> Attribute msg

onFocus : msg -> Attribute msg

Html

htmlAttrs : List (Html.Attribute msg) -> Attribute msg

noAttr : Attribute msg


type Attribute msg