diff --git a/govuk_frontend_jinja/templates/components/textarea/macro.html b/govuk_frontend_jinja/templates/components/textarea/macro.html index 39f7a0f..ba9effa 100644 --- a/govuk_frontend_jinja/templates/components/textarea/macro.html +++ b/govuk_frontend_jinja/templates/components/textarea/macro.html @@ -48,7 +48,7 @@ {%- if params.disabled %} disabled{% endif %} {%- if describedBy %} aria-describedby="{{ describedBy }}"{% endif %} {%- if params.autocomplete %} autocomplete="{{ params.autocomplete }}"{% endif %} - {{- govukAttributes(params.attributes) }}>{{ params.value }} + {{- govukAttributes(params.attributes) }}>{%- if params.value %}{{ params.value }}{% endif %} {% if params.formGroup and params.formGroup.afterInput %} {{ params.formGroup.afterInput.html | safe | trim | indent(2) if params.formGroup and params.formGroup.afterInput.html else params.formGroup.afterInput.text }} {% endif %}