In a Datepicker
component with prop controls={['time']}
, the defaultSelection
prop has the expected effect in the popup.
However, if prop controls={['timegrid']}
, defaultSelection
has no effect whatsoever. I would have expected, for example. that the timegrid popup would scroll down to the default time and the default time cell to be visually distinct from all the other cells.
How can get the expected behaviour in timegrid?