Closed Bug 1728366 Opened 3 years ago Closed 3 years ago

<input type=date min=".."> popup allows you to browse out-of-range months, even though you can't select any days on them

Categories

(Toolkit :: UI Widgets, defect)

defect

Tracking

()

RESOLVED FIXED
93 Branch
Tracking Status
firefox93 --- fixed

People

(Reporter: emilio, Assigned: mozilla)

References

(Blocks 1 open bug, Regressed 1 open bug)

Details

Attachments

(1 file)

I believe this is the code that filters out by range.

Test-case: data:text/html,<input type="date" min="2020-01-01">.

You can still browse dates in 2018 for example.

Assignee: nobody → rubencm
Status: NEW → ASSIGNED
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/8262d23cdf85 force date picker years to be in a valid range. r=emilio
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 93 Branch
Regressions: 1778086
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: