V-calendar: If end or start is null is infinite

Created on 30 Nov 2017  路  1Comment  路  Source: nathanreyes/v-calendar

When I use this code:

:disabled-dates="[{ start: new Date(), end: null }]"

image

Why this code should not disable days today until infinity?

OBS:
:disabled-dates="[{ start: null, end: new Date() }]" is same result, this is wrong.
This should disable the days until today and available in future.

bug

Most helpful comment

Thanks. I hadn't initially considered using null as an 'endless' date, but I don't see an objection with it.

>All comments

Thanks. I hadn't initially considered using null as an 'endless' date, but I don't see an objection with it.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

nik736 picture nik736  路  3Comments

rcascante picture rcascante  路  3Comments

mika76 picture mika76  路  3Comments

bocanhcam picture bocanhcam  路  3Comments

thfontaine picture thfontaine  路  3Comments