Default text area
This is the input's helper text.
<div class="ecl-form-group"><label class="ecl-form-label" for="example-textarea-id-1">Label<span
class="ecl-form-label__optional"> (optional)</span></label>
<div class="ecl-help-block">This is the input&#x27;s helper text.</div><textarea id="example-textarea-id-1"
class="ecl-text-area ecl-text-area--m" rows="4" placeholder="Placeholder text"></textarea>
</div>
Try it yourself on the playground
PlaygroundDisabled text area
This is the input's helper text.
<div class="ecl-form-group"><label class="ecl-form-label ecl-form-label--disabled"
for="example-textarea-id-1">Label<span class="ecl-form-label__optional"> (optional)</span></label>
<div class="ecl-help-block ecl-help-block--disabled">This is the input&#x27;s helper text.</div><textarea
id="example-textarea-id-1" class="ecl-text-area ecl-text-area--m" rows="4" placeholder="Placeholder text"
disabled=""></textarea>
</div>
Try it yourself on the playground
PlaygroundInvalid text area
This is the input's helper text.
<div class="ecl-form-group"><label class="ecl-form-label ecl-form-label--invalid" for="example-textarea-id-1">Label<span
class="ecl-form-label__optional"> (optional)</span></label>
<div class="ecl-help-block">This is the input&#x27;s helper text.</div>
<div class="ecl-feedback-message"><svg class="ecl-icon ecl-icon--m ecl-feedback-message__icon" focusable="false"
aria-hidden="true">
<use xlink:href="/icons.svg#error"></use>
</svg> This is the error message</div><textarea id="example-textarea-id-1"
class="ecl-text-area ecl-text-area--invalid ecl-text-area--m" rows="4" placeholder="Placeholder text"></textarea>
</div>
Try it yourself on the playground
PlaygroundRequired text area
This is the input's helper text.
<div class="ecl-form-group"><label class="ecl-form-label" for="example-textarea-id-1">Label<span
class="ecl-form-label__required">*</span></label>
<div class="ecl-help-block">This is the input&#x27;s helper text.</div><textarea id="example-textarea-id-1"
class="ecl-text-area ecl-text-area--m" rows="4" placeholder="Placeholder text" required=""></textarea>
</div>
Try it yourself on the playground
Playground