Testing - Textarea

Pristine

<hx-textarea-control>

Optional

<textarea>
:valid :invalid

Required

<textarea required>
:valid :invalid

Dirty

<hx-textarea-control hx-dirty>

Optional

<textarea>
:valid :invalid

Required

<textarea required>
:valid :invalid

Visually Invalid

<hx-textarea-control class="hxInvalid">

Optional

<textarea>
:valid :invalid

Required

<textarea required>
:valid :invalid

With Placeholder

<textarea placeholder="Once upon a time...">

Layout

Extra elements should not be visible.

textarea + label
textarea + label.hxRequired
textarea + label.hxOptional
textarea + label.hxRequired.hxOptional
textarea + label + .hxPrefix prefix
textarea + label + .hxSuffix suffix
textarea + label + .hxPrefix + .hxSuffix prefix suffix
textarea + label + p

Paragraph of text