Created on 1 March 2024, 4 months ago

Problem/Motivation

The html <input type='email' multiple> specification allows adding multiple addresses separated by commas, but the validation marks multiple email addresses as an invalid email.

Steps to reproduce

create a form field with the multiple attribute

$form['email'] => [
  '#type' => 'email',
  '#title' => 'test',
  '#attributes' => [
    'multiple'=>TRUE,
  ],
];
return $form;

this properly creates an html email input, but the validation fails when you enter an email in the format test@email.com,test@email.org

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Active

Version

4.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States kwfinken Lansing, MI

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024