nodep-date-input-polyfill
nodep-date-input-polyfill copied to clipboard
Automatically adds datepickers to input[type=date] on IE, macOS Safari, and legacy browsers.
The date-input-polyfill adds two select inputs 'yearSelect' and 'monthSelect' without labels. This triggers an "Label text is empty" error in a WCAG 2.0 accessibility tester.  Hides date picker from screen readers to fix the "Label text is empty" accessibility error. I also had to edit rollup.config.js in order to 'npm start' and 'npm run...
``` Submit ``` In IE 11, when I pick a date using the polyfill’s picker and click *Submit*, I get “false”. If I type something manually into the `input` and...
All modern browsers return date as iso format. Only ie11 returns the date in display format. BTW, there is the german translation of "today" (= "Heute") missing.
I'm looking to migrate a codebase (well, a few dozen) away from a mix of Pikaday and jQuery UI onto native datepicker elements. One of our main reasons for using...
Hi all, I am working on a project based on requireJS and I'm trying to load NDIP only when a date input is present in page. `if(document.querySelector("input[type='date']")!==null) require(["libs/nodep-date-input-polyfill.dist"]);` The problem...
Currently, if a date field is added to the DOM with an existing value, the picker does not format the date until the user clicks on it. Since the picker...
Steps to reproduce: 1. Wait until the 31st of a month (eg. today) whose successor has less than 31 days. 2. Open the demo link: https://brianblakely.github.io/nodep-date-input-polyfill/ 3. Click on the...
Hey, I like this project so far. But I now need the possibility to add a picker where one can only choose between month and year.