Implementing Variable Minimum Night Requirements in React Day Picker #2023
Unanswered
patrikzita
asked this question in
Support
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I am using React Day Picker for a booking application and facing a challenge with implementing variable minimum night requirements for different date ranges. For example, from Jan 1 to Feb 1, the minimum nights required are 2, and from Feb 2 to Mar 1, they are 5.
Is there a way to assign dynamic values to modifiers based on date ranges, allowing for different minimum night requirements in React Day Picker? Specifically, I am looking for a solution where I can pass an object or a numeric value as a modifier to represent this data for each day within the specified ranges.
Any suggestions or examples of how to achieve this functionality would be greatly appreciated.
Beta Was this translation helpful? Give feedback.
All reactions