NoRedInk/noredink-ui/4.14.0

NOTE: this package is not compatible with Elm 0.19.1

Nri.Ui.Select.V1

Build a select input.

Configure

type alias Config a =
{ choices :
List
{ label : String
, value : a
}
, current : a
}

Select-specific Choice.Config

Render

view : Config a -> Html a

A normal select dropdown

customView : List (Attribute a) -> Config a -> Html a

A select dropdown with custom attributes. This should be phased out as the new Select style is implemented, all pages should use the new, consistent style.

styles : Styles Never CssClasses c