Closed
Bug 1634908
Opened 5 years ago
Closed 5 years ago
Input date popup should default month should take min/max into account
Categories
(Core :: Layout: Form Controls, enhancement)
Tracking
()
RESOLVED
DUPLICATE
of bug 1501987
People
(Reporter: simon.lydell, Unassigned)
Details
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:76.0) Gecko/20100101 Firefox/76.0
Steps to reproduce:
Click on <input type="date" min="2030-05-01">.
Actual results:
The date picker popup opens, showing me the month of today.
Expected results:
The date picker popup opens, showing me the month of min (2030-05).
Variation: <input type="date" max="2019-05-01"> should show the month of max (2019-05).
In other words: If the month of today is not within the valid range, use the closest month that is valid. This makes it easier for the user to pick a valid date.
Chrome already works this way.
Comment 1•5 years ago
|
||
Bugbug thinks this bug should belong to this component, but please revert this change in case of error.
Component: Untriaged → Layout: Form Controls
Product: Firefox → Core
Updated•5 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•