Sha256: 3d7c7472913feddcb35cec2ec3e388c78308488ed8612484dd7c3b82b6ac0eca

Contents?: true

Size: 1.22 KB

Versions: 59

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` option 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` option will be ignored."
    },
    {
        "name": "id",
        "type": "string",
        "required": false,
        "description": "ID attribute to add to the error message `<p>` tag."
    },
    {
        "name": "classes",
        "type": "string",
        "required": false,
        "description": "Classes to add to the error message `<p>` tag."
    },
    {
        "name": "attributes",
        "type": "object",
        "required": false,
        "description": "HTML attributes (for example data attributes) to add to the error message `<p>` tag."
    },
    {
        "name": "visuallyHiddenText",
        "type": "string",
        "required": false,
        "description": "A visually hidden prefix used before the error message. Defaults to `\"Error\"`."
    }
]

Version data entries

59 entries across 59 versions & 2 rubygems

Version Path
govuk_publishing_components-49.1.0 node_modules/govuk-frontend/dist/govuk/components/error-message/macro-options.json
govuk_publishing_components-49.0.0 node_modules/govuk-frontend/dist/govuk/components/error-message/macro-options.json
govuk_publishing_components-48.0.0 node_modules/govuk-frontend/dist/govuk/components/error-message/macro-options.json
govuk_publishing_components-47.0.0 node_modules/govuk-frontend/dist/govuk/components/error-message/macro-options.json
govuk_publishing_components-46.4.0 node_modules/govuk-frontend/dist/govuk/components/error-message/macro-options.json
govuk_publishing_components-46.3.1 node_modules/govuk-frontend/dist/govuk/components/error-message/macro-options.json
govuk_publishing_components-46.3.0 node_modules/govuk-frontend/dist/govuk/components/error-message/macro-options.json
govuk_publishing_components-46.2.0 node_modules/govuk-frontend/dist/govuk/components/error-message/macro-options.json
govuk_publishing_components-46.1.0 node_modules/govuk-frontend/dist/govuk/components/error-message/macro-options.json
govuk_publishing_components-46.0.0 node_modules/govuk-frontend/dist/govuk/components/error-message/macro-options.json
govuk_publishing_components-45.10.0 node_modules/govuk-frontend/dist/govuk/components/error-message/macro-options.json
govuk_publishing_components-45.9.0 node_modules/govuk-frontend/dist/govuk/components/error-message/macro-options.json
govuk_publishing_components-45.8.0 node_modules/govuk-frontend/dist/govuk/components/error-message/macro-options.json
govuk_publishing_components-45.7.0 node_modules/govuk-frontend/dist/govuk/components/error-message/macro-options.json
govuk_publishing_components-45.6.1 node_modules/govuk-frontend/dist/govuk/components/error-message/macro-options.json
govuk_publishing_components-45.6.0 node_modules/govuk-frontend/dist/govuk/components/error-message/macro-options.json
govuk_publishing_components-45.5.0 node_modules/govuk-frontend/dist/govuk/components/error-message/macro-options.json
govuk_publishing_components-45.4.1 node_modules/govuk-frontend/dist/govuk/components/error-message/macro-options.json
govuk_publishing_components-45.4.0 node_modules/govuk-frontend/dist/govuk/components/error-message/macro-options.json
govuk_publishing_components-45.3.0 node_modules/govuk-frontend/dist/govuk/components/error-message/macro-options.json