Parameters to GovukInput Twirl template
Value parameters
- attributes
-
optional additional HTML attributes to apply to the
input - autocapitalize
-
optional
autocapitalizeattribute for theinput - autocomplete
-
optional
autocompleteattribute for theinput - classes
-
optional additional CSS classes to apply to the
input - describedBy
-
optional
aria-describedbyattribute for theinput - disabled
-
optional
disabledattribute for theinput - errorMessage
-
optional
ErrorMessageto display - formGroup
-
additional CSS classes/attributes/etc. to apply to the form group
- hint
-
optional
Hintfor the control - id
-
idattribute for theinput - inputType
-
typeattribute for theinput - inputWrapper
-
additional CSS classes/attributes to apply to the input wrapper
- inputmode
-
optional
inputmodeattribute for theinput - label
-
optional
Labelfor the control - name
-
nameattribute for theinput - pattern
-
optional
patternattribute for theinput - prefix
-
optional content to display immediately before the
input - spellcheck
-
optional
spellcheckattribute for theinput - suffix
-
optional content to display immediately after the
input - value
-
optional
valueattribute for theinput
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any