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

Calendar breaks when selecting a later start day from end day. Days leading up to start day become unselecteable. #344

Open
2 tasks
sverleis opened this issue Jun 13, 2023 · 1 comment
Labels
priority: low The issue/PR is low priority—not many people are affected or there’s a workaround, etc. type: UX debt

Comments

@sverleis
Copy link

Affected ticket(s)

6327612-zen

What I expected

When selecting a start date, all calendar dates before that day should become unavailable instantly.

What happened instead

When you use the calendar to select dates, if an end date is selected that is before the start date, the calendar breaks, after setting the 'new end date' as the start date.

All dates between 'now' and the forced start date become unavailable. Fixable with a refresh. This does not happen if you always select an end date that is after the start date.

Steps to reproduce the issue

  1. Create an accommodation product.
  2. Select and start date.
  3. Select an end date that is before the start date.
  4. (This becomes the new start date).
  5. Select a new end date.
  6. When reselecting dates, no dates from 'now' until the start date are available.

ezgif-1-c7795752c8


  • Issue assigned to next milestone.
  • Issue assigned a priority (will be assessed by maintainers).
@vikrampm1 vikrampm1 added the priority: low The issue/PR is low priority—not many people are affected or there’s a workaround, etc. label Jun 15, 2023
@thisissandip
Copy link

6327612-zen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: low The issue/PR is low priority—not many people are affected or there’s a workaround, etc. type: UX debt
Projects
None yet
Development

No branches or pull requests

3 participants