axelerator / fancy-forms / FancyForms.Widgets.Dropdown

A dropdown widget.

dropdown : FancyForms.Form.Variants a -> SelectWidget a customError

Returns a widget that lets the user select a value from a list of variants.


type alias SelectWidget a customError =
FancyForms.FormState.Widget String Msg a customError

Signature for a widget that lets the user select a value from a list of variants.