AffixField
AffixField
Interaction states
| State | default | hover | focus | active |
|---|---|---|---|---|
| empty | $USD | $USD | $USD | $USD |
| filled | $USD | $USD | $USD | $USD |
Disabled
| empty | $USD |
|---|---|
| filled | $USD |
Invalid
| required + empty | $USD |
|---|---|
| out of policy | $USD |
Variants
| bare — JS gap-fills presence | $USD |
|---|---|
| fully authored (chars + describedby) | $USD |
| unit in the label — affix aria-hidden | |
| type=number | $USD |
| with external hint | USD Excluding VAT. |
| sized to content (4 chars, end-aligned) | hours |
Live demo
$USD
Native reference
| type=number |
|---|