nixCodeX/elm-bootstrap/2.0.3

NOTE: the latest version is 3.1.1

Renamed to aDifferentJT/elm-bootstrap. That is where the repository lives now. It has not been published as a package under the new name.

Versions published as nixCodeX/elm-bootstrap still install under that name. 13 versions of 13 come from the new location (see their notes).

Rerouted (renamed, verified). The GitHub user or repository was renamed. The tag is still there, at the new name. The Lamdera package server serves a copy recovered from https://github.com/aDifferentJT/elm-bootstrap.

What we checked: The repo moved to github.com/aDifferentJT/elm-bootstrap. Rebuilt with git archive from commit 4b19ac3ec941 of https://github.com/aDifferentJT/elm-bootstrap (zip prefix nixCodeX-elm-bootstrap-4b19ac3/, America/Los_Angeles times): the zip is byte-identical to the one package.elm-lang.org recorded, SHA-1 ade0e3cc3a34a0e45f9c7b60d27e5d8f435cb89a.

The Lamdera compiler uses this copy and prints a one-line notice saying so. elm itself fails to download this version.

Details · package.elm-lang.org's zip: https://github.com/nixCodeX/elm-bootstrap/zipball/2.0.3/

Bootstrap.Form.Input

This module allows you to create Bootstrap styled HTML 5 inputs.

Input types

text : List (Option msg) -> Html msg

Create an input with type="text"

Input.text
    [ Input.id "myinput"
    , Input.small
    , Input.onInput MyInputMsg
    ]
password : List (Option msg) -> Html msg

Create an input with type="password"

datetimeLocal : List (Option msg) -> Html msg

Create an input with type="datetime-local"

date : List (Option msg) -> Html msg

Create an input with type="date"

month : List (Option msg) -> Html msg

Create an input with type="month"

time : List (Option msg) -> Html msg

Create an input with type="time"

week : List (Option msg) -> Html msg

Create an input with type="week"

number : List (Option msg) -> Html msg

Create an input with type="number"

email : List (Option msg) -> Html msg

Create an input with type="email"

url : List (Option msg) -> Html msg

Create an input with type="url"

tel : List (Option msg) -> Html msg

Create an input with type="tel"

color : List (Option msg) -> Html msg

Create an input with type="color"

Options

id : String -> Option msg

Options/shorthand for setting the id of an input

Option to make an input shorter (in height)

Option to make an input taller (in height)

value : String -> Option msg

Shorthand for setting the value attribute of an input

disabled : Bool -> Option msg

Shorthand for setting the disabled attribute of an input

readonly : Bool -> Option msg

Shorthand for setting the readonly attribute of an input

plainText : Bool -> Option msg

Shorthand for displaying the input as plaintext. Will also set read only if true

onInput : (String -> msg) -> Option msg

Shorthand for assigning an onInput handler for an input

placeholder : String -> Option msg

Shorthand for setting the placeholder attribute of an input

attrs : List (Attribute msg) -> Option msg

Use this function to handle any Html.Attribute option you wish for your input

type Option msg

Opaque type representing legal input configuration options

Validation

You can indicate success or invalid input using these functions.

Option to add a success marker icon for your input.

Option to add a danger marker icon for your input.