Skip to content

Import

import { Field } from '@dnb/eufemia/extensions/forms'
render(<Field.Email />)

Description

Field.Email is a wrapper component for the input of strings, with user experience tailored for email values.

It supports the HTML autocomplete attribute, and by default set it to email.

There is a corresponding Value.Email component.

Relevant links

Characteristics

  • If the user enters an email with a space, the space is removed.
  • Only valid characters are allowed.
  • autocomplete is set to email.
  • inputmode is set to email.