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

Improve useability of the datepicker for range selection #324

Closed
philippsteinberg opened this issue Jan 25, 2023 · 2 comments · Fixed by #473
Closed

Improve useability of the datepicker for range selection #324

philippsteinberg opened this issue Jan 25, 2023 · 2 comments · Fixed by #473
Assignees
Labels
Documentation Improvements or additions to documentation type: enhancement New feature or request
Milestone

Comments

@philippsteinberg
Copy link
Contributor

Suggestion / feature request

We are currently migrating one of our projects to ix and the datepicker confused the developers and users.

When the datepicker loads the current date is preselected.
With the current behaviour all previous days are then locked because you can only select only a future second date (see screenshot)
To select a date range in the past the user has to deselect the current date first to be able to select a start date for the range that is in the past
grafik

So my suggestion would be not to block the previous days on the range selection and just switch the from date when a previous date is selected (like in angular material https://material.angular.io/components/datepicker/overview#date-range-selection)
Or could we make at least the preselection of the current day optional so that the user don't have to preselect the current date before he can select days in the past

BR
Philipp

@philippsteinberg philippsteinberg added triage We discuss this topic in our internal weekly type: enhancement New feature or request labels Jan 25, 2023
@danielleroux danielleroux added ux/ui question and removed triage We discuss this topic in our internal weekly labels Jan 26, 2023
@silviowolf
Copy link
Collaborator

silviowolf commented Feb 16, 2023

UX Weekly 2023-02-16:

  • expected behavior: a start date should not be preselected, the users's first click into the picker should always be the start date (-> Styleguide)
  • first selecting the end date and then selecting the first date is also a valid usecase and would be an appropriate way to enhance error tolerance. If a date in the past got selected that will become the current from date and the to date will have to be re-selected.
  • no further To-Do on Design side

@nuke-ellington nuke-ellington added Documentation Improvements or additions to documentation component: core and removed ux/ui question labels Feb 16, 2023
@danielleroux danielleroux added this to the 1.5.0 milestone Mar 6, 2023
@nuke-ellington nuke-ellington self-assigned this Mar 9, 2023
@silviowolf
Copy link
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Documentation Improvements or additions to documentation type: enhancement New feature or request
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

4 participants