date-input-polyfill
date-input-polyfill copied to clipboard
Automatically adds datepickers to input[type=date] on IE, Firefox, and OS X Safari.
Hello! I found an issue with this really nice package. In general, IE still treat input type="date" as simple text field, and allows autocomplete to it. When you select this...
The day names in some languages - e.g. german (`de`) and danish (`da`) - are too long. They need to be shortened. Otherwise, the date picker gets very wide -...
Hi, I've noticed that the selects of year and months are missing of its labels. This isn't good for accessibility validation. Can you implement them? Thanks
See https://www.w3.org/TR/2010/WD-html5-20101019/common-input-element-attributes.html#attr-input-max and https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/date#Setting_maximum_and_minimum_dates The "min" and "max" attributes should restrict the date range in the date picker.
Firefox now supports date input. Typo on fork URL.
fixes #33
I have my locale set up (FR), and the input has the attribute `lang="fr"`, so the date displayed in the input is correct, but the selected date in the datepicker...
When formatting a date to anything else than yyyy-mm-dd, the value gets written into the input correctly, but on re-opening the picker, it's empty.
Added a "placeholder" attribute on the element, whose value equals the date format string. This produces a visual result similar to Chrome's native date picker. Added a custom event listener,...
A change event is fired even though the date is invalid (e.g. 2017-02-31). Chrome, which supports type="date" natively does not fire change events for invalid dates.