Packages

package radios

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. All

Type Members

  1. final case class RadioItem(content: html.components.Content = Empty, id: Option[String] = None, value: Option[String] = None, label: Option[html.components.Label] = None, hint: Option[html.components.Hint] = None, divider: Option[String] = None, checked: Boolean = false, conditionalHtml: Option[Html] = None, disabled: Boolean = false, attributes: Map[String, String] = Map.empty) extends Product with Serializable
  2. case class Radios(fieldset: Option[html.components.Fieldset] = None, hint: Option[html.components.Hint] = None, errorMessage: Option[html.components.ErrorMessage] = None, formGroup: FormGroup = FormGroup.empty, idPrefix: Option[String] = None, name: String = "", items: Seq[RadioItem] = Nil, classes: String = "", attributes: Map[String, String] = Map.empty, value: Option[String] = None) extends Product with Serializable

    Parameters to GovukRadios Twirl template

    Parameters to GovukRadios Twirl template

    fieldset

    optional Fieldset used to wrap the radio button control

    hint

    optional Hint for the control

    errorMessage

    optional ErrorMessage to display

    formGroup

    additional CSS classes/attributes/etc. to apply to the form group

    idPrefix

    optional id prefix to use for hint & error elements (defaults to name)

    name

    the name of the input element

    items

    sequence of RadioItems

    classes

    optional additional CSS classes to apply to the govuk-radios div

    attributes

    optional additional HTML attributes to apply to the govuk-radios div

    value

    optional value of the item that should be checked

    Note

    value overrides any checked RadioItem

Value Members

  1. object RadioItem extends Serializable
  2. object Radios extends Serializable

Ungrouped