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 would like to create a calendar that allows interacting with the leading/trailing dates for the month. I am not sure how to explain this so I added a picture for this month (Jan 2025).
For this month there are three dates for Dec 2024 (leading) and one date for Feb 2025 (trailing). This happens because Jan 2025 starts on a Wednesday and ends on a Friday.
I am trying to use useCalendar, useCalendarGrid, useCalendarCell to build my calendar input. I have figured out how to "show" these dates but useCalendarCell thinks this date is disabled and will not fire the change action.
How can I tell these hooks that I want to allow these trailing and leading dates?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I would like to create a calendar that allows interacting with the leading/trailing dates for the month. I am not sure how to explain this so I added a picture for this month (Jan 2025).
For this month there are three dates for Dec 2024 (leading) and one date for Feb 2025 (trailing). This happens because Jan 2025 starts on a Wednesday and ends on a Friday.
I am trying to use useCalendar, useCalendarGrid, useCalendarCell to build my calendar input. I have figured out how to "show" these dates but useCalendarCell thinks this date is disabled and will not fire the change action.
How can I tell these hooks that I want to allow these trailing and leading dates?
Beta Was this translation helpful? Give feedback.
All reactions