Won't Fix
Last Updated: 31 Jan 2024 13:35 by ADMIN
Ahmad
Created on: 24 Jan 2024 19:35
Category: UI for Blazor
Type: Bug Report
0
Max and Min in a DateOnly Datepicker are still a DateTime types

If the Datepicker's binded value is a DateOnly type, the Min and Max should follow that type.

1 comment
ADMIN
Dimo
Posted on: 31 Jan 2024 13:35

Hello Ahmad,

Indeed, we considered identical Value, Min and Max parameter types when we added support for DateOnly. I agree with you that it makes complete sense. However, our research showed that this will require a breaking change and moreover, introduce too much complexity in our source code, which is not justified.

That's why we decided to leave the Min and Max type DateTime. By the way, some of our competitors follow the same approach.

I hope it will be easy for your app logic to accommodate this requirement.

Regards,
Dimo
Progress Telerik

Stay tuned by visiting our public roadmap and feedback portal pages! Or perhaps, if you are new to our Telerik family, check out our getting started resources!