-
Working on a custom DatePicker component, that has a I've based my approach on the example from the docs - https://codesandbox.io/p/sandbox/affectionate-rosalind-tdm323?file=%2Fsrc%2FCalendar.js but cannot figure out a way to validate which months/years are valid options based on the Is there anyway to extract the available months/years from the datepicker state? Or handle this differently |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I was able to resolve this in the end using the calendar state and getting the |
Beta Was this translation helpful? Give feedback.
I was able to resolve this in the end using the calendar state and getting the
month
/year
from theminValue
/maxValue
properties of the state