Skip to content

Disabling day selection after datePickerController.createDatePicker #72

Description

@SLivio

Is possible to set disabled day after the creation of datePicker?

Not something like this:

datePickerController.createDatePicker({
    formElements:{
        "inp1":"%d/%m/%Y"
    },
    disabledDays:[0,0,0,0,0,1,1]
});

But something like this:

datePickerController.createDatePicker({
    formElements:{
        "inp1":"%d/%m/%Y"
    }
});
//...
var disableDay = [0,0,0,0,0,1,1];
datePickerController.setDisabledDay("inp1", disableDay);

tk

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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