The Email
type creates an input field, which is validated against an
email pattern. If the input does not contain a valid email address, a flash
message warning will be displayed.
Settings
default
-
- Type
- string
- Default
- ''
Default value set if a new record is created.
placeholder
-
- Type
- string
- Default
- ''
Placeholder text for the field.
required
-
- Type
- boolean
- Default
- false
If set, the field becomes mandatory.
Example
Minimal
name: example/email
fields:
- identifier: email
type: Email
Copied!
Advanced / use case
name: example/email
fields:
- identifier: email
type: Email
autocomplete: true
default: 'developer@localhost.de'
placeholder: 'Enter your email address'
required: true
Copied!