NoRedInk/noredink-ui/14.5.0

NOTE: the latest version is 35.9.3

Nri.Ui.Select.V7

Build a select input.

type alias Choice a =
{ label : String
, value : a
}

A single possible choice.

{ choices : List (Choice a)
, current : Maybe a
, id : String
, valueToString : a -> String
, defaultDisplayText : Maybe String
, isInError : Bool
}
-> Html a

A select dropdown. Remember to add a label!