Testing - Text Input
Pristine
<hx-text-control>
Optional
<input type="text">
:valid | :invalid |
---|---|
|
|
|
|
Required
<input type="text" required>
:valid | :invalid |
---|---|
|
|
|
|
Dirty
<hx-text-control hx-dirty>
Optional
<input type="text">
:valid | :invalid |
---|---|
|
|
|
|
Required
<input type="text" required>
:valid | :invalid |
---|---|
|
|
|
|
Visually Invalid
<hx-text-control class="hxInvalid">
Optional
<input type="text">
:valid | :invalid |
---|---|
|
|
|
|
Required
<input type="text" required>
:valid | :invalid |
---|---|
|
|
|
|
With Placeholder
<input type="text" placeholder="Type something..." />
Layout
input + label
input + label.hxRequired
input + label.hxOptional
input + label.hxRequired.hxOptional
input + label + .hxPrefix
input + label + .hxSuffix
input + label + .hxPrefix + .hxSuffix
input + label + div
DIV