Is there any way of addid a dropdown picker for year and month in calendars? #6444
-
Using react-day-picker, I'm able to add a month and year selector to be able to quickly pick dates. Is there any way of doing this with react-aria? At the moment, I'm unable to find any methods that can be called to set the year/month in my state object. |
Beta Was this translation helpful? Give feedback.
Answered by
devongovett
May 24, 2024
Replies: 1 comment
-
You can do this by controlling the focused date via the |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
samchouse
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can do this by controlling the focused date via the
focusedValue
prop: https://react-spectrum.adobe.com/react-aria/Calendar.html#controlling-the-focused-date