uk.gov.hmrc.govukfrontend.views.viewmodels.textarea
Members list
Type members
Classlikes
case class Textarea(id: String, name: String, rows: Int, value: Option[String], describedBy: Option[String], label: Label, hint: Option[Hint], errorMessage: Option[ErrorMessage], formGroup: FormGroup, classes: String, autocomplete: Option[String], attributes: Map[String, String], spellcheck: Option[Boolean], disabled: Option[Boolean])
Parameters to GovukTextarea Twirl template
Parameters to GovukTextarea Twirl template
Value parameters
- attributes
-
optional additional HTML attributes to apply to the
textarea - autocomplete
-
optional
autocompleteattribute - classes
-
optional additional CSS classes to apply to the
textarea - describedBy
-
optional
aria-describedbyattribute for thetextareaelement - disabled
-
optional
disabledattribute - errorMessage
-
optional
ErrorMessageto display - formGroup
-
additional CSS classes/attributes/etc. to apply to the form group
- hint
-
optional
Hintfor the control - id
-
the id of the
textareaelement - label
-
optional
Labelfor the control - name
-
the name of the
textareaelement - rows
-
height of the
textareain rows - spellcheck
-
optional
spellcheckattribute - value
-
optional initial value of the
textarea
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
In this article