package dateinput
Ordering
- Alphabetic
Visibility
- Public
- Protected
Type Members
- case class DateInput(id: String = "", namePrefix: Option[String] = None, items: Seq[html.components.InputItem] = Seq.empty, hint: Option[html.components.Hint] = None, errorMessage: Option[html.components.ErrorMessage] = None, formGroup: FormGroup = FormGroup.empty, fieldset: Option[html.components.Fieldset] = None, classes: String = "", attributes: Map[String, String] = Map.empty) extends Product with Serializable
Parameters to
GovukDateInputTwirl templateParameters to
GovukDateInputTwirl template- id
idattribute for the wrapperdiv- namePrefix
optional name prefix for each of the inputs in the date control
- items
sequence of
InputItems- hint
optional
Hintfor the control- errorMessage
optional
ErrorMessageto display- formGroup
additional CSS classes/attributes/etc. to apply to the form group
- fieldset
optional
Fieldsetused to wrap the date input control- classes
optional additional CSS classes to apply to the wrapper
div- attributes
optional additional HTML attributes to apply to the wrapper
div
- final case class InputItem(id: String = "", name: String = "", label: Option[String] = None, value: Option[String] = None, autocomplete: Option[String] = None, pattern: Option[String] = None, classes: String = "", attributes: Map[String, String] = Map.empty, inputmode: Option[String] = None) extends Product with Serializable
Value Members
- object DateInput extends Serializable
- object InputItem extends Serializable