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

classes

optional additional CSS classes to apply to the textarea

describedBy

optional aria-describedby attribute for the textarea element

disabled

optional disabled attribute

errorMessage

optional ErrorMessage to display

formGroup

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

hint

optional Hint for the control

id

the id of the textarea element

label

optional Label for the control

name

the name of the textarea element

rows

height of the textarea in rows

spellcheck

optional spellcheck attribute

value

optional initial value of the textarea

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object Textarea

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Textarea.type