This module contains a reusable SelectField
type.
Form.Field.Field Attributes String values
Represents a select field.
Note: You should not need to care about this unless you are creating your own custom fields or writing custom view code.
{ label : String
, placeholder : String
, options : List ( String
, String )
, htmlAttributes : List ( String
, String )
}
The attributes of a SelectField.
You need to provide these to:
form : (SelectField values -> field) -> Form.Base.FieldConfig Attributes String values output -> Form.Base.Form values output field
Builds a Form
with a single SelectField
.
Note: You should not need to care about this unless you are creating your own custom fields.