Testing - Dropdown Select

Pristine

<hx-select-control>

Optional

<select>
:valid :invalid*

JavaScript required to match :optional:invalid

Required

<select required>
:valid :invalid

Dirty

<hx-select-control hx-dirty>

Optional

<select>
:valid :invalid*

JavaScript required to match :optional:invalid

Required

<select required>
:valid :invalid

Visually Invalid

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

Optional

<select>
:valid :invalid*

JavaScript required to match :optional:invalid

Required

<select required>
:valid :invalid

Layout

Extra elements should not be visible.

select + hx-select
select + hx-select + label
select + label + hx-select
select + div + hx-select + label
div
select + label + div + hx-select
div
div + select + label + hx-select
div
div + select + hx-error + label + hx-select
div
hx-error

Miscellaneous