
Announcements
hello together
I noticed a very unpleasant bug in the new datepicker from the modern design library.
Story:
Because I like the datepicker very much, I have replaced the classic datepicker with a modern one in an EditForm. Since the new datepicker again has no time selection, I have left the dropdowns for the time.
I reconfigured the date picker, Value = Parent.default, updated the card to modernDatePicker.Value + Time.
Bug:
But now watch out: the property modernDatePicker.Value is not a Date variable, but a DateTime. This means that if the form loads an existing record, the date and time will be displayed correctly. But when you save, the time from the dropdown is added to the already saved time in the modern Datepicker.
This leads to a very confusing error.
Workaround:
Workaround is to apply the Date() formula in the Update property of the card and delete the time.
I hope that the modern datepicker will soon be able to pick the time as well, that would certainly be the cleanest solution.