Packages

case class Radios(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.RadioItem] = Nil, classes: String = "", attributes: Map[String, String] = Map.empty, value: Option[String] = None) extends Product with Serializable

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

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 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

Linear Supertypes
Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Radios
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Radios(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.RadioItem] = Nil, classes: String = "", attributes: Map[String, String] = Map.empty, value: Option[String] = None)

    fieldset

    optional Fieldset used to wrap the radio button 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 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

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. val attributes: Map[String, String]
  6. val classes: String
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. val errorMessage: Option[html.components.ErrorMessage]
  10. val fieldset: Option[html.components.Fieldset]
  11. val formGroupClasses: String
  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  13. val hint: Option[html.components.Hint]
  14. val idPrefix: Option[String]
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. val items: Seq[html.components.RadioItem]
  17. val name: String
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  21. def productElementNames: Iterator[String]
    Definition Classes
    Product
  22. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  23. val value: Option[String]
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  26. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped