Skip to content

Does this support min and max attributes? #32

@ghost

Description

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions