You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 13, 2020. It is now read-only.
When using a date range component ( a filter) the following happens:
** The firstdate is selected => both the dateFrom and dateTo fields are set with this date : OK
** The second date is selected => both the dateFrom and dateTo fields are set with this date : NOK
** If you hover on other dates, the first date is also modified in the field: NOK
This might be confusing from a user perspective
Expected behavior
Since the first date was set, leave the date Field value as is .
Steps to reproduce
Step 1: Selected first date as February 1:
Step 2: decided to set the second date on March 3:
Step 3: Clicked on March 3:
Step 4: Move the cursor to March 10:
Step 5: Move the cursor out of the date component ( all back to normal):
Is this easy to fix?
Please let us know about the complexity of fixing this.
The text was updated successfully, but these errors were encountered:
First, it is not easy to fix, it is a totally different behavior than that one.
Second, the current behavior is as every date range picker is doing, it is to selecting range, and do not chosing two dates separetely.
It's not perfect because it doesn't enable you to change once selected date on left and right sides of calendar. In fact this is not "input and calendar" + "input and calendar" but "input + input and calendar".
What I suggest to do is: enable autoApply – it will close picker after selection of 2nd date, and to change dates you'd need to open it one more time and select new range.
OR
Disable inputs for dates – this will leave only calendar to select from and to. But this will on the other hand disable possibility to see dates at once first next to other.
Type of issue
Current behavior
** The firstdate is selected => both the dateFrom and dateTo fields are set with this date : OK
** The second date is selected => both the dateFrom and dateTo fields are set with this date : NOK
** If you hover on other dates, the first date is also modified in the field: NOK
Expected behavior
Steps to reproduce
Step 1: Selected first date as February 1:
Step 2: decided to set the second date on March 3:
Step 3: Clicked on March 3:
Step 4: Move the cursor to March 10:
Step 5: Move the cursor out of the date component ( all back to normal):
Is this easy to fix?
Please let us know about the complexity of fixing this.
The text was updated successfully, but these errors were encountered: