New issue
Advanced search Search tips

Issue 766152 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 231811
Owner: ----
Closed: Sep 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug



Sign in to add a comment

Datepicker allows you to pick non-existing dates

Reported by szpbrzy...@gmail.com, Sep 18 2017

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.79 Safari/537.36

Steps to reproduce the problem:
1. Create a form with <input type="date">
2. Select month that does not have 31 days, eg February
3. Select day and use up/down arrows or input manually non-existing day of month like 31

What is the expected behavior?
I think it should be like numbers that are out of bounds like 32 and greater - just pick closest number available

What went wrong?
It allows you to pick dates like 31 of february which should not be possible.

Did this work before? N/A 

Chrome version: 61.0.3163.79  Channel: n/a
OS Version: OS X 10.12.6
Flash Version:
 
Screen Shot 2017-09-18 at 15.13.20.png
42.9 KB View Download
Components: -UI Blink>Forms>Date

Comment 2 by tkent@chromium.org, Sep 19 2017

Mergedinto: 231811
Status: Duplicate (was: Unconfirmed)

Sign in to add a comment