Packages

package checkboxes

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. Protected

Type Members

  1. sealed trait CheckboxBehaviour extends AnyRef
  2. final case class CheckboxItem(content: Content = Empty, id: Option[String] = None, name: Option[String] = None, value: String = "", label: Option[Label] = None, hint: Option[Hint] = None, checked: Boolean = false, conditionalHtml: Option[Html] = None, disabled: Boolean = false, attributes: Map[String, String] = Map.empty, behaviour: Option[CheckboxBehaviour] = None, divider: Option[String] = None) extends Product with Serializable
  3. case class Checkboxes(describedBy: Option[String] = None, fieldset: Option[html.components.Fieldset] = None, hint: Option[html.components.Hint] = None, errorMessage: Option[html.components.ErrorMessage] = None, formGroupClasses: String = "", idPrefix: Option[String] = None, name: String = "", items: Seq[html.components.CheckboxItem] = Nil, classes: String = "", attributes: Map[String, String] = Map.empty, values: Set[String] = Set.empty) extends Product with Serializable

    Parameters to GovukCheckboxes Twirl template

    Parameters to GovukCheckboxes Twirl template

    describedBy

    optional aria-describedby attribute for the input element

    fieldset

    optional Fieldset used to wrap the checkboxes control

    hint

    optional Hint for the control

    errorMessage

    optional ErrorMessage to display

    formGroupClasses

    optional additional CSS classes 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 CheckboxItems

    classes

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

    attributes

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

    values

    sequence of values of any items that should be checked

    Note

    values override any checked CheckboxItem(s)

Value Members

  1. object CheckboxBehaviour
  2. object CheckboxItem extends Serializable
  3. object Checkboxes extends Serializable
  4. case object ExclusiveCheckbox extends CheckboxBehaviour with Product with Serializable

Ungrouped