package textarea
Ordering
- Alphabetic
Visibility
- Public
- Protected
Type Members
- case class Textarea(id: String = "", name: String = "", rows: Int = 5, value: Option[String] = None, describedBy: Option[String] = None, label: html.components.Label = Label(), hint: Option[html.components.Hint] = None, errorMessage: Option[html.components.ErrorMessage] = None, formGroup: FormGroup = FormGroup.empty, classes: String = "", autocomplete: Option[String] = None, attributes: Map[String, String] = Map.empty, spellcheck: Option[Boolean] = None, disabled: Option[Boolean] = None) extends Product with Serializable
Parameters to
GovukTextareaTwirl templateParameters to
GovukTextareaTwirl template- id
the id of the
textareaelement- name
the name of the
textareaelement- rows
height of the
textareain rows- value
optional initial value of the
textarea- describedBy
optional
aria-describedbyattribute for thetextareaelement- label
optional
Labelfor the control- hint
optional
Hintfor the control- errorMessage
optional
ErrorMessageto display- formGroup
additional CSS classes/attributes/etc. to apply to the form group
- classes
optional additional CSS classes to apply to the
textarea- autocomplete
optional
autocompleteattribute- attributes
optional additional HTML attributes to apply to the
textarea- spellcheck
optional
spellcheckattribute- disabled
optional
disabledattribute
Value Members
- object Textarea extends Serializable