<label for="text">Text Area</label>
<textarea id="text" name="text" placeholder="Content goes here."></textarea>
<span class="helptext">Description for this text area.</span>
<label for="{{ name }}">{{ label }}{% if required %} (Required){% endif %}</label>
<textarea {% if error %}class="input--error" {% endif %}id="{{ name }}" name="{{ name }}" placeholder="{{ placeholder }}"{{ ' disabled' if disabled }}{{ ' required' if required }}>{% if error %}{{ errorValue | safe }}{% endif %}</textarea>
{% if error %}<p class="input-group__error">{% render '@svg', {svg: 'error'}, true %}{{ errorMessage | safe }}</p>{% endif %}
<span class="helptext">{{ description }}</span>
{
  "label": "Text Area",
  "name": "text",
  "description": "Description for this text area.",
  "placeholder": "Content goes here.",
  "errorMessage": "Sorry, that appears to be incorrect.",
  "errorValue": "Incorrect input",
  "required": false,
  "value": ""
}

There are no notes for this item.