W3C home > Mailing lists > Public > whatwg@whatwg.org > October 2010

[whatwg] Make "foo@bar.com, " a valid email address list

From: Mounir Lamouri <mounir.lamouri@gmail.com>
Date: Thu, 21 Oct 2010 15:42:41 +0200
Message-ID: <4CC04351.3070005@gmail.com>
On 10/21/2010 03:31 PM, Mounir Lamouri wrote:
> Hi,
> For the moment, a valid email address list is a set of comma-separated
> tokens where each tokens are a valid email address so in the case of
> "foo at bar.com, ", "foo at bar.com" is a valid email address but not "".
> Unfortunately, as soon as you want to put a UI on top of that, values
> will always be appended by ", ". Indeed, a comma have to be added to
> mark that the user is now editing another email address so the UI can
> suggests new ones. Without adding the comma automatically, the user
> would have to add it by hand to have the UI suggesting new entries.
> So, if we do not fix the specifications, all <input type='email'
> multiple> with a UI will be whether invalid or really annoying to implement.

Oh, and I forgot to add that we need to fix that to have @list working
nicely with <input type='email' multiple>.

Received on Thursday, 21 October 2010 06:42:41 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:27 UTC