V-calendar: Hide days from next month

Created on 21 Nov 2018  路  3Comments  路  Source: nathanreyes/v-calendar

How to hide days that are from the netxt month in current month?

Most helpful comment

With the latest version I take it that this is the default behavior? E.g. hiding days from the previous and next month? Is it possible to show these dates in the latest version? (I want the previous behavior, since I need to display a selected week, and this will most like span over two months)

All 3 comments

And with previous month too.

You can disable next months by using :available-dates.

You can use :available-dates like this:

:available-dates="{ start: new Date( YEAR, month, Day1 ) , end: new Date( YEAR, month, LastDay ) }"

And if you want to disable only prev or next month you can use start: null or end: null

With the latest version I take it that this is the default behavior? E.g. hiding days from the previous and next month? Is it possible to show these dates in the latest version? (I want the previous behavior, since I need to display a selected week, and this will most like span over two months)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

sokolovdm picture sokolovdm  路  3Comments

knagyorg picture knagyorg  路  4Comments

jeffster9 picture jeffster9  路  3Comments

bocanhcam picture bocanhcam  路  3Comments

rcascante picture rcascante  路  3Comments