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

adjust selected date functionality #109

Open
wants to merge 12 commits into
base: master
Choose a base branch
from

Conversation

uptownjimmy
Copy link

Make current day (instead of the the max possible day) the default selected day when:

  • user opens datepicker modal
  • user selects a day that will be past the maxTestDate if user then selects nextMonth
  • user clicks nextMonth

Notes:

  • Previous functionality would have the highest possible day selected, which is confusing.
  • Ideally, no day would be selected under these circumstances, but that seems difficult given the nature of the code logic.

uptownjimmy and others added 12 commits September 20, 2019 09:54
Make current day the default selected day when:
- user opens datepicker modal
- user selects a day that will be past the maxTestDate if user then selects nextMonth
- user clicks nextMonth

Notes:
- Previous functionality would have the highest possible day selected, which is confusing. 
- Ideally, no day would be selected under these circumstances, but that seems difficult given the nature of the code logic.
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