Allow hiding dates from the previous/next month
See original GitHub issueEssentially allowing people to emulate the Google Analytics style of date picker.
This would also respect monthsShown
.
Our users have mentioned it’s difficult to select common dates of interested like 1st of the month quickly. We could highlight these dates but that feels like a work around.
I’m happy to do implementation if you’re interested in it.
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Is it possible to hide dates from previous/next months in Antd ...
I'm using the Ant Design RangePicker specifically and would like to only show dates from the current month (eg. under Feb, 1 -...
Read more >Solved: How to hide first few days of current month of dat...
I have a date table where each row is a single day, based on the minimum and maximum of another data source (max...
Read more >Disable past dates from datepicker in powerapps
Solved: Hi Experts, In my App, where I datepicker field coming from sharepoint list. I want disable the past dates , user should...
Read more >Datepicker documentation for React | Mobiscroll
Name Type Default value
anchor HTMLElement undefined
animation String, Boolean undefined
buttons Array
Read more >Date picker - Shopify Polaris
Date pickers let merchants choose dates from a visual calendar that's ... useCallback} from 'react'; function DatePickerExample() { const [{month, year}, ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
You can already customize the appearance of those days via the
react-datepicker__day--outside-month
CSS class.You can probably style the outside-month class with
visibility: hidden
to get what you need.