This module contains a reusable RadioField
type.
Form.Field.Field Attributes String values
Represents a radio 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
, options : List ( String
, String )
, htmlAttributes : List ( String
, String )
}
The attributes of a RadioField.
You need to provide these to:
form : (RadioField values -> field) -> Form.Base.FieldConfig Attributes String values output -> Form.Base.Form values output field
Builds a Form
with a single RadioField
.
Note: You should not need to care about this unless you are creating your own custom fields.