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 GovukTextarea Twirl 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
- Alphabetic
- By Inheritance
- Textarea
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new 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)
- 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
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val attributes: Map[String, String]
- val autocomplete: Option[String]
- val classes: String
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- val describedBy: Option[String]
- val disabled: Option[Boolean]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val errorMessage: Option[html.components.ErrorMessage]
- val formGroup: FormGroup
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val hint: Option[html.components.Hint]
- val id: String
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val label: html.components.Label
- val name: String
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val rows: Int
- val spellcheck: Option[Boolean]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val value: Option[String]
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)