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

Mounir Lamouri mounir.lamouri at gmail.com
Thu Oct 21 06:42:41 PDT 2010


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>.

--
Mounir



More information about the whatwg mailing list