You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like to have the possibility to not set an initial date value, but still have the datepicker set to current month when I click on the input to open it. Otherwise, if the date is null, the days are not displayed. And the reason I do not want to set the date with new Date() on initializing is that I do not want the date (of today) displayed in the input, I'd prefer for the input to be populated only after the date is selected.
Maybe in init method have something like this: const start = startOfMonth(this.date || new Date()); and const end = endOfMonth(this.date || new Date()); so that days get computed even if date is not set.
The text was updated successfully, but these errors were encountered:
I have fixed the issue with the pull request #312.
If you are in hurry and can't wait for the pull request to be accepted , you can make a build from the forked repo in my account
I'd like to have the possibility to not set an initial date value, but still have the datepicker set to current month when I click on the input to open it. Otherwise, if the date is null, the days are not displayed. And the reason I do not want to set the date with
new Date()
on initializing is that I do not want the date (of today) displayed in the input, I'd prefer for the input to be populated only after the date is selected.Maybe in
init
method have something like this:const start = startOfMonth(this.date || new Date());
andconst end = endOfMonth(this.date || new Date());
so thatdays
get computed even ifdate
is not set.The text was updated successfully, but these errors were encountered: