Sha256: 8c9233aca5824712e6940547f81f8ae99b2eb25d6927805884dc254693b7b144

Contents?: true

Size: 1.32 KB

Versions: 13

Compression:

Stored size: 1.32 KB

Contents

[
    {
        "name": "id",
        "type": "string",
        "required": true,
        "description": "The id of the input."
    },
    {
        "name": "name",
        "type": "string",
        "required": true,
        "description": "The name of the input, which is submitted with the form data."
    },
    {
        "name": "type",
        "type": "string",
        "required": false,
        "description": "Type of input control to render. Defaults to \"text\"."
    },
    {
        "name": "value",
        "type": "string",
        "required": false,
        "description": "Optional initial value of the input."
    },
    {
        "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 anchor tag."
    },
    {
        "name": "attributes",
        "type": "object",
        "required": false,
        "description": "HTML attributes (for example data attributes) to add to the anchor tag."
    }
]

Version data entries

13 entries across 13 versions & 1 rubygems

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