Sha256: df0c879fd9873efc6dcb69363646f175e42d601a9cffa770f97e458cf1b52380

Contents?: true

Size: 1.22 KB

Versions: 89

Compression:

Stored size: 1.22 KB

Contents

[
    {
        "name": "text",
        "type": "string",
        "required": true,
        "description": "If `html` is set, this is not required. Text to use within the error message. If `html` is provided, the `text` argument will be ignored."
    },
    {
        "name": "html",
        "type": "string",
        "required": true,
        "description": "If `text` is set, this is not required. HTML to use within the error message. If `html` is provided, the `text` argument will be ignored."
    },
    {
        "name": "id",
        "type": "string",
        "required": false,
        "description": "Id attribute to add to the error message span tag."
    },
    {
        "name": "classes",
        "type": "string",
        "required": false,
        "description": "Classes to add to the error message span tag."
    },
    {
        "name": "attributes",
        "type": "object",
        "required": false,
        "description": "HTML attributes (for example data attributes) to add to the error message span tag"
    },
    {
        "name": "visuallyHiddenText",
        "type": "string",
        "required": false,
        "description": "A visually hidden prefix used before the error message. Defaults to \"Error\"."
    }
]

Version data entries

89 entries across 89 versions & 2 rubygems

Version Path
govuk_publishing_components-27.10.5 node_modules/govuk-frontend/govuk/components/error-message/macro-options.json
govuk_publishing_components-27.10.4 node_modules/govuk-frontend/govuk/components/error-message/macro-options.json
govuk_publishing_components-27.10.3 node_modules/govuk-frontend/govuk/components/error-message/macro-options.json
govuk_publishing_components-27.10.2 node_modules/govuk-frontend/govuk/components/error-message/macro-options.json
govuk_publishing_components-27.10.1 node_modules/govuk-frontend/govuk/components/error-message/macro-options.json
govuk_publishing_components-27.10.0 node_modules/govuk-frontend/govuk/components/error-message/macro-options.json
govuk_publishing_components-27.9.2 node_modules/govuk-frontend/govuk/components/error-message/macro-options.json
govuk_publishing_components-27.9.1 node_modules/govuk-frontend/govuk/components/error-message/macro-options.json
govuk_publishing_components-27.9.0 node_modules/govuk-frontend/govuk/components/error-message/macro-options.json
govuk_publishing_components-27.8.2 node_modules/govuk-frontend/govuk/components/error-message/macro-options.json
govuk_publishing_components-27.8.1 node_modules/govuk-frontend/govuk/components/error-message/macro-options.json
govuk_publishing_components-27.8.0 node_modules/govuk-frontend/govuk/components/error-message/macro-options.json
govuk_publishing_components-27.7.0 node_modules/govuk-frontend/govuk/components/error-message/macro-options.json
govuk_publishing_components-27.6.0 node_modules/govuk-frontend/govuk/components/error-message/macro-options.json
govuk_publishing_components-27.5.0 node_modules/govuk-frontend/govuk/components/error-message/macro-options.json
govuk_publishing_components-27.4.0 node_modules/govuk-frontend/govuk/components/error-message/macro-options.json
govuk_publishing_components-27.3.1 node_modules/govuk-frontend/govuk/components/error-message/macro-options.json
govuk_publishing_components-27.3.0 node_modules/govuk-frontend/govuk/components/error-message/macro-options.json
govuk_publishing_components-27.2.0 node_modules/govuk-frontend/govuk/components/error-message/macro-options.json
govuk_publishing_components-27.1.0 node_modules/govuk-frontend/govuk/components/error-message/macro-options.json