Packages

case class FileUpload(name: String = "", id: String = "", value: Option[String] = None, describedBy: Option[String] = None, label: Label = Label(), hint: Option[Hint] = None, errorMessage: Option[ErrorMessage] = None, formGroup: FormGroup = FormGroup.empty, classes: String = "", attributes: Map[String, String] = Map.empty, disabled: Option[Boolean] = None, multiple: Option[Boolean] = None, javascript: Option[Boolean] = None, chooseFilesButtonText: Option[String] = None, dropInstructionText: Option[String] = None, multipleFilesChosenText: Option[FileUploadMultipleFilesMessages] = None, noFileChosenText: Option[String] = None, enteredDropZoneText: Option[String] = None, leftDropZoneText: Option[String] = None) extends Product with Serializable

Parameters to GovukFileUpload Twirl template

name

name attribute for the input

id

id attribute for the input

value

optional value attribute for the input

describedBy

optional aria-describedby attribute for the input

label

optional Label for the control

hint

optional Hint for the control

errorMessage

optional ErrorMessage to display

formGroup

additional CSS classes/attributes/etc. to apply to the form group

classes

optional additional CSS classes to apply to the input

attributes

optional additional HTML attributes to apply to the input

disabled

optional disabled attribute for the input

Linear Supertypes
Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FileUpload
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new FileUpload(name: String = "", id: String = "", value: Option[String] = None, describedBy: Option[String] = None, label: Label = Label(), hint: Option[Hint] = None, errorMessage: Option[ErrorMessage] = None, formGroup: FormGroup = FormGroup.empty, classes: String = "", attributes: Map[String, String] = Map.empty, disabled: Option[Boolean] = None, multiple: Option[Boolean] = None, javascript: Option[Boolean] = None, chooseFilesButtonText: Option[String] = None, dropInstructionText: Option[String] = None, multipleFilesChosenText: Option[FileUploadMultipleFilesMessages] = None, noFileChosenText: Option[String] = None, enteredDropZoneText: Option[String] = None, leftDropZoneText: Option[String] = None)

    name

    name attribute for the input

    id

    id attribute for the input

    value

    optional value attribute for the input

    describedBy

    optional aria-describedby attribute for the input

    label

    optional Label for the control

    hint

    optional Hint for the control

    errorMessage

    optional ErrorMessage to display

    formGroup

    additional CSS classes/attributes/etc. to apply to the form group

    classes

    optional additional CSS classes to apply to the input

    attributes

    optional additional HTML attributes to apply to the input

    disabled

    optional disabled attribute for the input

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. val attributes: Map[String, String]
  6. val chooseFilesButtonText: Option[String]
  7. val classes: String
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  9. val describedBy: Option[String]
  10. val disabled: Option[Boolean]
  11. val dropInstructionText: Option[String]
  12. val enteredDropZoneText: Option[String]
  13. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. val errorMessage: Option[ErrorMessage]
  15. val formGroup: FormGroup
  16. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. val hint: Option[Hint]
  18. val id: String
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. val javascript: Option[Boolean]
  21. val label: Label
  22. val leftDropZoneText: Option[String]
  23. val multiple: Option[Boolean]
  24. val multipleFilesChosenText: Option[FileUploadMultipleFilesMessages]
  25. val name: String
  26. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  27. val noFileChosenText: Option[String]
  28. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  29. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  30. def productElementNames: Iterator[String]
    Definition Classes
    Product
  31. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  32. val value: Option[String]
  33. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  34. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  35. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped