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

[whatwg] <datalist> and invalid values

From: Ian Hickson <ian@hixie.ch>
Date: Wed, 29 Dec 2010 22:43:21 +0000 (UTC)
Message-ID: <Pine.LNX.4.64.1012292239210.26618@ps20323.dreamhostps.com>
On Tue, 21 Sep 2010, Jonas Sicking wrote:
> 
> [list=""/<datalist> should show invalid values.] Consider for example:
> 
> <input type=tel pattern="\d\d\d-\d\d\d-\d\d\d\d" list="prefixes">
> <datalist id=prefixes>
>   <option value="650-">
>   <option value="415-">
> </datalist>

Good use case. Fixed.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Wednesday, 29 December 2010 14:43:21 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:09:02 UTC