uk.gov.hmrc.govukfrontend.views.viewmodels.fileupload

Members list

Type members

Classlikes

case class FileUpload(name: String, id: String, describedBy: Option[String], label: Label, hint: Option[Hint], errorMessage: Option[ErrorMessage], formGroup: FormGroup, classes: String, attributes: Map[String, String], disabled: Option[Boolean], multiple: Option[Boolean], javascript: Option[Boolean], chooseFilesButtonText: Option[String], dropInstructionText: Option[String], multipleFilesChosenText: Option[FileUploadMultipleFilesMessages], noFileChosenText: Option[String], enteredDropZoneText: Option[String], leftDropZoneText: Option[String])

Parameters to GovukFileUpload Twirl template

Parameters to GovukFileUpload Twirl template

Value parameters

attributes

optional additional HTML attributes to apply to the input

classes

optional additional CSS classes to apply to the input

describedBy

optional aria-describedby attribute for the input

disabled

optional disabled attribute for the input

errorMessage

optional ErrorMessage to display

formGroup

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

hint

optional Hint for the control

id

id attribute for the input

label

optional Label for the control

name

name attribute for the input

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object FileUpload

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
FileUpload.type
case class FileUploadMultipleFilesMessages(one: String, other: String)

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type