Skip to content
This repository was archived by the owner on Feb 14, 2019. It is now read-only.
This repository was archived by the owner on Feb 14, 2019. It is now read-only.

Able to navigate through keyboard on disable dates #723

@vaidehihirani

Description

@vaidehihirani

Please consider a scenario that we have set startDate and endDate using setStartDate and setEndDate function. After that we have disabled some dates using setDatesDisabled function. Now, user can not navigate through keyboard on the dates which are out of range but can able to navigate and select disabled date which should be prevented.

$("#calendarInput").datetimepicker({format: "m/d/yyyy"}); $("#calendarInput").datetimepicker("setStartDate", "5/10/2018"); $("#calendarInput").datetimepicker("setEndDate", "5/25/2018"); $("#calendarInput").datetimepicker("setDatesDisabled", ["5/11/2018", "5/13/2018"]);

For above code, user should not be able to select 5/11/2018 through keyboard navigation as it is disabled.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions