Skip to content
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

Navigate to next month when last date selected #14

Open
Janie-w3 opened this issue Nov 16, 2017 · 2 comments
Open

Navigate to next month when last date selected #14

Janie-w3 opened this issue Nov 16, 2017 · 2 comments

Comments

@Janie-w3
Copy link

We can automatically assume that they will need a check out date at least one night in the future. Therefore, if a user selects a checkout date that is the last date of the month, we can navigate to the next month when we select the check-in date. How can we achieve this @RoXuS ? Waiting for your valuable feedback. Thanks.

@alaminio
Copy link

alaminio commented Jan 1, 2018

Bump. This this what I am also looking for.

@alaminio
Copy link

alaminio commented Jan 2, 2018

I found a solution. Make month two way bind when use range-datepicker-calendar element. E.g <range-datepicker-calendar month={{month}} ....> Also modify month is the element, set notify to true

Use JS to check if last day of month is selected as check in, if true then update the value of month to current month number + 1.

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

No branches or pull requests

2 participants