Skip to content

Conversation

kibolho
Copy link

@kibolho kibolho commented Jul 11, 2024

We can't manipulate date references without clone it, otherwise it will change the original value:
image
So this was causing some issues with the max and min limits in the goToPrevNext function.
So this PR fix this issue by cloning the date object:
const newDate = new Date(date.getTime());
And also fixing some layout issues to represent the disabled date values

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant