uk.gov.hmrc.hmrcfrontend.views.viewmodels.charactercount

Members list

Type members

Classlikes

case class CharacterCount(id: String, name: String, rows: Int, value: Option[String], maxLength: Option[Int], maxWords: Option[Int], threshold: Option[Int], label: Label, hint: Option[Hint], errorMessage: Option[ErrorMessage], formGroup: FormGroup, classes: String, attributes: Map[String, String], spellcheck: Option[Boolean], countMessageClasses: String, language: Language)

Parameters to HmrcCharacterCount Twirl template

Parameters to HmrcCharacterCount Twirl template

Value parameters

attributes

optional additional HTML attributes to apply to the textarea

classes

optional additional CSS classes to apply to the textarea

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

language

language for internationalisation of the character count messages

maxLength

optional maximum length, in characters, of the text in the textarea

maxWords

optional maximum number of words in the textarea

name

the name of the textarea element

rows

height of the textarea in rows

spellcheck

optional spellcheck attribute (NOT CURRENTLY WIRED UP)

threshold

optional threshold, in characters, for the textarea

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

Attributes

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