Chrome implements features that aren’t standards track into their browser, and lazy/oblivious devs use these features to build their products - only to realize wayyy too late it won’t work in Safari/Firefox because it uses APIs that are chrome only
According to MDN, Firefox does support week inputs… on Android. Firefox isn’t really relevant, though. Safari is, and Safari doesn’t have a week input either.
I don’t know many use cases for these input types, but it’s interesting to know about them for the future.
Chrome implements features that aren’t standards track into their browser, and lazy/oblivious devs use these features to build their products - only to realize wayyy too late it won’t work in Safari/Firefox because it uses APIs that are chrome only
Firefox still has no month or week inputs. These things have been standardized 10 years ago and implemented in Chrome as of version 20.
Probably the reason it was never implemented is that it’s barely an inconvenience. The input just fallback into a text field.
Probably because the week input is just a date picker that applies
Math.floor()
on the result, and month inputs are better suited for a<select>
According to MDN, Firefox does support week inputs… on Android. Firefox isn’t really relevant, though. Safari is, and Safari doesn’t have a week input either.
I don’t know many use cases for these input types, but it’s interesting to know about them for the future.