We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Is it possible to select full weeks? If not, could you point out how such a feature could be implemented?
Something like this:
The text was updated successfully, but these errors were encountered:
Hi @brunnolou this is not possible for now, but if want to open a pull request I really appreciate it.
Also, if you need this urgently, you can do this by adding custom content (something like this https://uselessdev-datepicker.netlify.app/?path=/story/calendar--custom-content) or you can do this by setting the start and end dates by using startOfWeek and endOfWeek from date-fns.
start
end
startOfWeek
endOfWeek
maybe somethinf similar to this:
const handleDateChange = dates => { setDates({ start: startOfWeek(dates.start), end: endOfWeek(dates.start) }) }
*update:
The example above looks doesn't work properly so I just added a prop for week selection you can see this here and you can use this tag v2.4.0-rc
Sorry, something went wrong.
No branches or pull requests
Is it possible to select full weeks?
If not, could you point out how such a feature could be implemented?
Something like this:
The text was updated successfully, but these errors were encountered: