←back to thread

287 points mnemonet | 4 comments | | HN request time: 0s | source
Show context
sureglymop ◴[] No.45891214[source]
My take is that Date, Time and DateTime pickers are not enough. I want month pickers. Week pickers, custom interval pickers and then some. I really dislike how limited the selection of native form elements is.
replies(2): >>45891423 #>>45893469 #
1. recursive ◴[] No.45891423[source]
Do you think there is anything missing from <input type="week"> or <input type="month"> other than Firefox support?
replies(1): >>45892627 #
2. culi ◴[] No.45892627[source]
Not just Firefox. Safari doesn't have it either. Not usable in a professional context.

I've been following the bugzilla issue for it for years now but there hasn't been any real progress on it. I don't think it'll happen until we can get it to an interop.[0] Speaking of which, interop 2026 is still taking suggestions[1] and I don't see any proposal for these inputs

[0] https://wpt.fyi/interop-2025

[1] https://github.com/web-platform-tests/interop/issues?q=is%3A...

replies(1): >>45892764 #
3. bklyn11201 ◴[] No.45892764[source]
What is the simple explanation for the terrible support by Firefox and Safari? I figured this was relatively low-hanging fruit, widely used, a big boost for performance (date pickers often load 100s of locales and translations), and a giant move towards sanity for web app developers.
replies(1): >>45894121 #
4. culi ◴[] No.45894121{3}[source]
It's simply not a priority. The Bugzilla has been open for 9 years. At one point the assignee of the bug simply stopped logging in and it took 7 months for the autonag to bother people. There simply aren't enough people asking for it. And the fact that it's a Chrome-exclusive feature means it's gonna take a backseat to features that Chrome AND Safari implement but are lacking in Firefox.

There actually was some massive progress on it 3 months ago and it looks like they just need testing now but, again, it's just not a big priority

> a big boost for performance (date pickers often load 100s of locales and translations)

The native date/time pickers work great across all 3 major browsers in my experience. The use-cases for type="week" and type="month" are simply a lot less common.