This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 29575 - HTML5 input type date validation
Summary: HTML5 input type date validation
Status: RESOLVED MOVED
Alias: None
Product: HTML WG
Classification: Unclassified
Component: LC1 HTML5 spec (show other bugs)
Version: unspecified
Hardware: PC All
: P2 blocker
Target Milestone: ---
Assignee: Ian 'Hixie' Hickson
QA Contact: HTML WG Bugzilla archive list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-19 08:07 UTC by belleo
Modified: 2016-04-20 00:44 UTC (History)
4 users (show)

See Also:


Attachments

Description belleo 2016-04-19 08:07:06 UTC
Cannot determine Either the input type date field is empty or not because there are just two states to check ( true or false ) and both empty and invalid dates have the same value.

This is a blocker for us who uses the input validation on key events.
Comment 1 belleo 2016-04-19 10:25:34 UTC
Additional,

We cannot check either if all segments in the input type date ( year, month. day ) are empty or not, or the whole value is being inputted because of the default result which is "false" if ever the date is invalid.
Comment 2 Travis Leithead [MSFT] 2016-04-19 14:53:44 UTC
Hi! I've moved your bug into our GitHub issue tracker. New issues should be filed there; sorry about the confusion!

See: https://github.com/w3c/html/issues/219

Thanks!
Comment 3 belleo 2016-04-20 00:44:04 UTC
Cool, thank you so much!