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
hello, I was wondering if there was a way to implement like a "last month" shortcut button, i saw in your code you calculate it out, however, what about months with 28 or 31 days or leapyears.
also one other issue is when i select your shortcut. I still have to click on the day to have it register how would i go about fixing this
The text was updated successfully, but these errors were encountered:
I was wondering if there was a way to implement like a "last month" shortcut button, i saw in your code you calculate it out, however, what about months with 28 or 31 days or leapyears.
I'm not sure what you mean with that - maybe it helps if you're able to provide an example?
Either way with shortcut buttons you can virtually implement whatever you want, the logic behind what a button does is really up to you.
is when i select your shortcut. I still have to click on the day to have it register how would i go about fixing this
Flatpickr exposes a setDate method, you can use it to set a specific date.
I updated the US Holidays Navigator example to reflect that, since I guess that'd be the expectation - you can check there how I did it.
hello, I was wondering if there was a way to implement like a "last month" shortcut button, i saw in your code you calculate it out, however, what about months with 28 or 31 days or leapyears.
also one other issue is when i select your shortcut. I still have to click on the day to have it register how would i go about fixing this
The text was updated successfully, but these errors were encountered: