New option in datepicker - restrictToYear #389

Closed
jusle123 opened this Issue Feb 28, 2014 · 0 comments

Projects

None yet

3 participants

@jusle123
Contributor

A new option restrictToYear would provide the following functionalities:

  • it would allow to restrict date selection to dates within a year set as the option's value
  • if the option is set, navigation to dates before and after the specified year will be disabled
  • all days not within the specified year would be disabled
  • if restrictToYear is set, clicking on the month label in the datepicker will only allow to navigate between months
@cormacmccarthy cormacmccarthy added this to the 3.0.1 milestone Nov 22, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment