nodep-date-input-polyfill icon indicating copy to clipboard operation
nodep-date-input-polyfill copied to clipboard

Does this support min and max attributes?

Open ghost opened this issue 8 years ago • 2 comments

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 a datepicker is to select a date within approximately two weeks from the current date.

In Chrome with the native picker, setting a min and max causes the picker to only allow selection between those dates. chrome example 2016-12-08

In IE11 with this polyfill, the min and max attributes and properties are seemingly ignored, giving the user free reign to select any date they'd like. ie11 example 2016-12-08

Am I missing something or does this polyfill not support these attributes yet?

ghost avatar Dec 09 '16 00:12 ghost

Am I missing something or does this polyfill not support these attributes yet?

You're not, I'm sorry, those attrs are not implemented yet.

brianblakely avatar Apr 13 '17 20:04 brianblakely

I'd like to add a nod for addition of min / max attribute support to this project.

Thank you.

TechPW avatar Mar 06 '18 21:03 TechPW