-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Calendar did not update marking date after select #194
Comments
Hey, @sonnguyenit! Have you solved this problem? |
Hey, @tautvilas! Could you help with the solution of this problem? |
let markedDates = {...this.state.markedDates} should fix your problem |
Thx @sshapoval . The trick is that markedDates should be treated as immutable |
Base on @sonnguyenit code I created https://github.com/lazaronixon/react-native-date-range-picker |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I want to use this calendar for my app with range select.
My solution is:
from date
. (startingdate)to date
. (endingdate)here is my code:
This code seem to be work fine as it logic, but the UI did not change immediate, i must press the arrow to go to next month and press arrow back to see the UI updated.
What about the missing code here to update the UI? Or can we use a trigger to update UI after select dates?
The text was updated successfully, but these errors were encountered: