react-native-calendars icon indicating copy to clipboard operation
react-native-calendars copied to clipboard

disabledDaysIndexes doesn't seems to be working

Open Faiyyaz opened this issue 1 year ago • 9 comments

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:

  1. Device/emulator/simulator & OS version:

Android 12 simulator

Faiyyaz avatar Sep 15 '22 16:09 Faiyyaz

Same problem here

dragoshuniq avatar Dec 01 '22 13:12 dragoshuniq

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.

stale[bot] avatar Mar 11 '23 12:03 stale[bot]

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

plinyrecruit avatar Apr 27 '23 21:04 plinyrecruit

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.

stale[bot] avatar Aug 07 '23 05:08 stale[bot]

bump

CDBridger avatar Aug 24 '23 01:08 CDBridger

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",

git-sparrow avatar Sep 12 '23 13:09 git-sparrow

Bump

jordanshardy avatar Dec 21 '23 01:12 jordanshardy

i faced same issue too

Aiden-recovery avatar Dec 27 '23 23:12 Aiden-recovery

Any news about this issue?

HichamELBSI avatar Feb 23 '24 22:02 HichamELBSI