<div class="spacer"></div>
<div class="input-group input-group--inverse">
<label for="textarea">Text Area</label>
<textarea id="textarea" name="textarea" placeholder="Content goes here."></textarea>
<p class="input-group__description">Description for this text area.</p>
</div>
<div class="input-group input-group--inverse input-group--error">
<label for="error">Text Area (Error)</label>
<textarea id="error" name="error" placeholder="Content goes here.">Incorrect input</textarea>
<p class="input-group__error"><svg class="icon icon--error" aria-hidden="true" viewBox="0 0 20 20" focusable="false">
<use href="/images/error.svg#error" />
</svg>
Sorry, that appears to be incorrect.</p>
<p class="input-group__description">Description for this text area.</p>
</div>
<div class="input-group input-group--inverse input-group--disabled">
<label for="disabled">Text Area (Disabled)</label>
<textarea id="disabled" name="disabled" placeholder="Content goes here." disabled></textarea>
<p class="input-group__description">Description for this text area.</p>
</div>
{% if not standAlone %}<div class="spacer"></div>{% endif %}
{% for textarea in textareas %}
{% render '@textarea', {textarea:textarea, inverse:inverse}, true %}
{% endfor%}
{
"name": "text",
"standAlone": false,
"textareas": [
{
"name": "textarea"
},
{
"name": "error",
"error": true,
"modifiers": [
"error"
]
},
{
"name": "disabled",
"disabled": true,
"modifiers": [
"disabled"
]
}
],
"inverse": true,
"bodyClass": "has-dark-mint-500-background-color",
"modifiers": [
"inverse"
]
}
There are no notes for this item.