[pickers] Disabled month is selected by default #6121
Labels
component: pickers
This is the name of the generic UI component, not the React module!
duplicate
This issue or pull request already exists
Steps to reproduce
It is important to understand, that at the time of writing it's July 2019.
July
, althought it is disabledExpected behavior
No month should be selected - guess that's going to be hard, as it is not valid date due to moment deprecation warning.
An acceptable solution would be to set the selected month to anything that is not disabled.
Actual behavior
Selected month is one of the disabled months.
Live example
https://codesandbox.io/s/basicdatepicker-material-demo-forked-5czq6?file=/demo.tsx
Due to better
active
month visibility, I'm attaching the screenshot of my custom date picker as well:Your Environment 🌎
The text was updated successfully, but these errors were encountered: