uk.gov.hmrc.govukfrontend.views.viewmodels.dateinput
Members list
Type members
Classlikes
Parameters to GovukDateInput Twirl template
Parameters to GovukDateInput Twirl template
Value parameters
- attributes
-
optional additional HTML attributes to apply to the wrapper
div - classes
-
optional additional CSS classes to apply to the wrapper
div - errorMessage
-
optional
ErrorMessageto display - fieldset
-
optional
Fieldsetused to wrap the date input control - formGroup
-
additional CSS classes/attributes/etc. to apply to the form group
- hint
-
optional
Hintfor the control - id
-
idattribute for the wrapperdiv - items
-
sequence of
InputItems - namePrefix
-
optional name prefix for each of the inputs in the date control
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
object DateInput
final case class InputItem(id: String, name: String, label: Option[String], value: Option[String], autocomplete: Option[String], pattern: Option[String], classes: String, attributes: Map[String, String], inputmode: Option[String])
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
In this article