react-native-calendars
react-native-calendars copied to clipboard
disabledDaysIndexes doesn't seems to be working
Please make our job easier by filling this template out to completion. If you're requesting a feature instead of reporting a bug, please feel free to skip the Environment and Reproducible Demo sections.
Description
disabledDaysIndexes is not blocking the days
Expected Behavior
disabledDaysIndexes days should be blocked for users
Observed Behavior
What actually happened when you performed the above actions?
I am able to select disabledDaysIndexes days too
Environment
Please run these commands in the project folder and fill in their results:
-
npm ls react-native-calendars
: 1.1284.0 -
npm ls react-native
: 0.68.2
Also specify:
- Device/emulator/simulator & OS version:
Android 12 simulator
Same problem here
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This is still an issue with versions: "react-native": "0.71.4", "react-native-calendars": "^1.1275.0", Tested on - iPhone 6S - iOS 15.7.5 Samsung Galaxy Note 8 - Android 9
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
bump
disabledDaysIndexes={[0, 6]}
doesn't work for me as well.
Saturday and Sunday are NOT disabled in this case.
The only working option that is working for me at the moment is to use the markedDates
property to disable specific dates.
"react-native": "0.71.7",
"react-native-calendars": "1.1301.0",
Bump
i faced same issue too
Any news about this issue?