Sha256: 83c61a18551a3b19b74049a16cf9a855792c1b3f2f718234ed094883d834c605

Contents?: true

Size: 1.73 KB

Versions: 13

Compression:

Stored size: 1.73 KB

Contents

[
    {
        "name": "id",
        "type": "string",
        "required": true,
        "description": "The id of the textarea."
    },
    {
        "name": "describedBy",
        "type": "string",
        "required": false,
        "description": "Text or element id to add to the `aria-describedby` attribute to provide description for screenreader users."
    },
    {
        "name": "name",
        "type": "string",
        "required": true,
        "description": "The name of the textarea, which is submitted with the form data."
    },
    {
        "name": "rows",
        "type": "string",
        "required": false,
        "description": "Optional number of textarea rows (default is 5 rows)."
    },
    {
        "name": "value",
        "type": "string",
        "required": false,
        "description": "Optional initial value of the textarea."
    },
    {
        "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 (e.g. text).",
        "isComponent": true
    },
    {
        "name": "classes",
        "type": "string",
        "required": false,
        "description": "Classes to add to the textarea."
    },
    {
        "name": "attributes",
        "type": "object",
        "required": false,
        "description": "HTML attributes (for example data attributes) to add to the textarea."
    }
]

Version data entries

13 entries across 13 versions & 1 rubygems

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