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

[whatwg] Type Date

From: Schalk Neethling <schalk@ossreleasefeed.com>
Date: Fri, 7 May 2010 20:26:49 +0200
Message-ID: <007b01caee12$dd263090$977291b0$@com>
On Thu, May 6, 2010 at 2:19 PM, Schalk Neethling <schalk at ossreleasefeed.com> wrote:
> Greetings,
> Are there any talks at the moment whether the type=date input will allow a user to enter a date manually or use the date picker or, should developers fall back to using a standard input field and add the date picker via JavaScript?

"The purpose of <input type=date> is to allow the browser to supply the user with a datepicker.  Opera, for example, already does this.

If you would like to show a datepicker to users of all browsers, use feature detection (such as through the Modernizr script) to detect whether or not the browser support date inputs, and if not, supply the js version."

Hey TJ, I understand what type=date is supposed to offer the user and agree that using Modernizr to detect whether the element is supported and provide a fallback but my more direct question is, would HTML 5 offer the ability to allow a user to use either the date picker or enter the date manually if the type=date attribute is specified. Something like for example <input type=date editable=true />

Received on Friday, 7 May 2010 11:26:49 UTC

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