Open vitalijalbu opened 1 week ago
It seems like you're experiencing an issue with the Ant Design Calendar component where future years and months are selectable even when dates beyond the current day are disabled. This behavior might not be the expected one, as you want to prevent users from selecting future dates entirely, including years and months.
To address this issue, you can try the following approaches:
Custom Date Picker Logic: Implement custom logic to handle the disabling of future years and months. You can achieve this by controlling the available options in the year and month selectors based on the current date.
Check for Updates: Ensure that you are using the latest version of Ant Design, as there might be updates or fixes related to this behavior.
Community and Support: If the issue persists, consider reaching out to the Ant Design community or checking the GitHub repository for similar issues or potential fixes.
If you need further assistance, feel free to provide more details or ask specific questions, and I'll be happy to help!
It seems like you're experiencing an issue with the Ant Design Calendar component where future years and months are selectable even when dates beyond the current day are disabled. This behavior might not be the expected one, as you want to prevent users from selecting future dates entirely, including years and months.
To address this issue, you can try the following approaches:
- Custom Date Picker Logic: Implement custom logic to handle the disabling of future years and months. You can achieve this by controlling the available options in the year and month selectors based on the current date.
- Check for Updates: Ensure that you are using the latest version of Ant Design, as there might be updates or fixes related to this behavior.
- Community and Support: If the issue persists, consider reaching out to the Ant Design community or checking the GitHub repository for similar issues or potential fixes.
If you need further assistance, feel free to provide more details or ask specific questions, and I'll be happy to help!
🪧 Tips
Has nothing to do with that bug
Hi, if possible, I would like to work on this. Leave a message here to notice others.
Reproduction link
Steps to reproduce
What is expected?
future years and months MUST NOT be selectable from select
What is actually happening?
future years and months ARE selectable from select