juno
juno copied to clipboard
Datepicker changes the selected date when browsing to a different month
-
Date field contains a specific date d
-
open the datepicker: selected date is marked
-
go to a different month, without selecting any explicit date: Now a new date gets selected automatically, with the same day-of-month and the currently visible month/year
-
when you now close the datepicker, without selecting a date, this unintended new date gets applied
Should
- when you select a different month, no date in the picker should be selected without clicking the date directly. Interestingly, that's not the first datepicker I see doing that out-of-the-box.
Thanks for the detailed tickets. Unfortunately, I don't think there's anything I can do. I'm using an <input type="date" onchange /> , so it's the browser that determines when and whether the onchange event should be fired.
I'll keep the issue open for a while in case I come up with something.