Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does this support min and max attributes? #32

Open
ghost opened this issue Dec 9, 2016 · 2 comments
Open

Does this support min and max attributes? #32

ghost opened this issue Dec 9, 2016 · 2 comments
Labels

Comments

@ghost
Copy link

ghost commented Dec 9, 2016

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?

@brianblakely
Copy link
Owner

brianblakely commented Apr 13, 2017

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.

@TechPW
Copy link

TechPW commented Mar 6, 2018

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

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants