uk.gov.hmrc.govukfrontend.views.viewmodels.fileupload
Members list
Type members
Classlikes
case class FileUpload(name: String, id: String, value: Option[String], describedBy: Option[String], label: Label, hint: Option[Hint], errorMessage: Option[ErrorMessage], formGroup: FormGroup, classes: String, attributes: Map[String, String], disabled: Option[Boolean])
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-describedbyattribute for theinput - disabled
-
optional
disabledattribute for theinput - errorMessage
-
optional
ErrorMessageto display - formGroup
-
additional CSS classes/attributes/etc. to apply to the form group
- hint
-
optional
Hintfor the control - id
-
idattribute for theinput - label
-
optional
Labelfor the control - name
-
nameattribute for theinput - value
-
optional
valueattribute for theinput
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
object FileUpload
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
FileUpload.type
In this article