Hello all,
I use the default Datepicker with the Defaultdate
Coalesce(lclDate, Today())
and have two buttons. One button increases the day with Onselect
UpdateContext({lclDate: DateAdd(Coalesce(lclDate, Today()), 1)})
and the other decreases with
UpdateContext({lclDate: DateAdd(Coalesce(lclDate, Today()), -1)})
The problem I have is when I manually select the day when opening the calendar or by typing in a new date and then increase the day with the buttons, it does not jump up or down from the current manually selected date. Instead it takes the value I last increased with the button or if it was unchanged from the current day.
For Example: When the displayed Date ist 02.03.2023 and I Press the button to increase the day it jumps correctly to 03.03.2023, but when I manually changed the date to 10.03.2023 and press the button again it jumps to 04.03.2023.