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
Confirmed the issue. It's caused by the fact that we don't reset time in 00:00 when pressing "Today" button (unlike it's done in _isTodayAllowed() which works correctly). This should be easy to fix by reusing corresponding logic.
Description
When adding a date-picker and setting the max to the current date, clicking today does not update the value.
However, when opening the Development Tools in e.g. in Chrome, Firefox or Safari, the value gets updated.
When the date-picker needs to scroll to display the current date, things seem to work again.
I have reproduced this also using the live demo (https://vaadin.com/docs/latest/components/date-picker) by specifying the max property there.
Expected outcome
I would expect
Today
is always updating the value as long as min <= date <= max.Minimal reproducible example
Steps to reproduce
Does not work:
Today
Does work:
Today
Environment
Vaadin version(s): 24.3, 24.4
OS: Mac OS 14.5
Browsers
Chrome, Firefox, Safari
The text was updated successfully, but these errors were encountered: