Sha256: 16382d56817b6469b4cddb6e4d92796fa6c1bfe061b5c06434b4c0c1644dde8e

Contents?: true

Size: 1.34 KB

Versions: 13

Compression:

Stored size: 1.34 KB

Contents

[
    {
        "name": "name",
        "type": "string",
        "required": true,
        "description": "The name of the input, which is submitted with the form data."
    },
    {
        "name": "id",
        "type": "string",
        "required": true,
        "description": "The id of the input"
    },
    {
        "name": "value",
        "type": "string",
        "required": false,
        "description": "Optional initial value of the input"
    },
    {
        "name": "label",
        "type": "object",
        "required": true,
        "description": "Options for the label component.",
        "isComponent": true
    },
    {
        "name": "hint",
        "type": "object",
        "required": false,
        "description": "Options for the hint component.",
        "isComponent": true
    },
    {
        "name": "errorMessage",
        "type": "object",
        "required": false,
        "description": "Options for the errorMessage component.",
        "isComponent": true
    },
    {
        "name": "classes",
        "type": "string",
        "required": false,
        "description": "Classes to add to the file upload component."
    },
    {
        "name": "attributes",
        "type": "object",
        "required": false,
        "description": "HTML attributes (for example data attributes) to add to the file upload component."
    }
]

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
govuk_publishing_components-12.8.0 node_modules/govuk-frontend/components/file-upload/macro-options.json
govuk_publishing_components-12.7.1 node_modules/govuk-frontend/components/file-upload/macro-options.json
govuk_publishing_components-12.7.0 node_modules/govuk-frontend/components/file-upload/macro-options.json
govuk_publishing_components-12.6.0 node_modules/govuk-frontend/components/file-upload/macro-options.json
govuk_publishing_components-12.5.0 node_modules/govuk-frontend/components/file-upload/macro-options.json
govuk_publishing_components-12.4.0 node_modules/govuk-frontend/components/file-upload/macro-options.json
govuk_publishing_components-12.3.0 node_modules/govuk-frontend/components/file-upload/macro-options.json
govuk_publishing_components-12.2.0 node_modules/govuk-frontend/components/file-upload/macro-options.json
govuk_publishing_components-12.1.0 node_modules/govuk-frontend/components/file-upload/macro-options.json
govuk_publishing_components-12.0.1 node_modules/govuk-frontend/components/file-upload/macro-options.json
govuk_publishing_components-12.0.0 node_modules/govuk-frontend/components/file-upload/macro-options.json
govuk_publishing_components-11.2.0 node_modules/govuk-frontend/components/file-upload/macro-options.json
govuk_publishing_components-11.1.0 node_modules/govuk-frontend/components/file-upload/macro-options.json