pickadate.js
pickadate.js copied to clipboard
Display only the current month
How i can display only the current month, i don't want to show part of the next month.
thanks! pickadate is a very usefull plugin.
greets!
Unfortunately the amsul datepicker doesn't offer a built-in function to do this. You can fake it using some custom css however. Essentially overwrite the styles for picker__nav--prev & picker__nav--next and make them invisible.
To hide the days of the previous month/the next month in the current month's view you have to overwrite the style for picker__day--outfocus.
.picker__nav--prev { visibility: hidden; }
.picker__nav--next { visibility: hidden; }
.picker__day--outfocus { visibility: hidden; }