Forms
Email field
An email field with the mail glyph and its validation states.
import { EcoEmailField } from "vue-ecosphere"
Type an address and leave the field: it validates on blur.
Valid on last blur: —
Filled
The address every notification goes to.
Bounced
Focus the field and leave it to see the error; fix the domain to clear it.
Read-only
A blocked control is always paired with the reason.
Ask an owner to change the sign-in address.
API
| Name | Type | Default | Description |
|---|---|---|---|
v-model | string | "" | The address. |
validate | boolean | true | Check on blur and say what is missing. Never while typing. |
error | string | — | Your own error (e.g. a bounce); wins over the built-in check. |
label / required / hint / invalid / first / disabled / readonly / placeholder / id | — | — | As on EcoTextField. |
@validate | (valid: boolean) => void | — | After each blur check. |