email
| Category | String Format |
| Related | url · regex |
| Bundle size | 295 B |
Validates that the value is a valid email address.
Usage
vue
<VfText name="email" label="Email" rules="email" />vue
<template>
<VfText name="email" label="Email" rules="email" />
</template>ts
{
email: {
type: 'text',
label: 'Email',
rules: 'email',
},
}Error Messages
| Key | Default Message |
|---|---|
rule_email_error | The {attribute} must be a valid email address. |