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 GovukDateInput Twirl 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
- Alphabetic
- By Inheritance
- DateInput
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new 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)
- 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
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 classes: String
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val errorMessage: Option[html.components.ErrorMessage]
- val fieldset: Option[html.components.Fieldset]
- 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 items: Seq[html.components.InputItem]
- val namePrefix: Option[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
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- 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)