EmailElement: {
    requiresConfirmation?: boolean;
    type: "email";
} & FormElementWithInput<string>

An element to allow the user to supply an email address.

The element must have an id property that contains a universally unique identifier (UUID). The identifier must be a Version 4 (V4) UUID and must conform to the formatting requirements defined in this RFC 9562 specification: https://www.rfc-editor.org/rfc/rfc9562.html

Type declaration

  • OptionalrequiresConfirmation?: boolean

    Display a second input on the form that is required to match this input exactly before the user can submit the form.

  • type: "email"