Completed
Last Updated: 29 Nov 2024 07:14 by ADMIN
Release 2024 Q4 (Nov)
Andrew
Created on: 29 Oct 2024 18:09
Category: DateTimePicker
Type: Bug Report
1
Selecting time from the popup includes seconds in the value even though they are not visible in the input

The bug is reproducible only when the TimePicker is bound to a nullable type (be that DateTime or TimeOnly). In this case, selecting time from the popup includes seconds in the value - the seconds from the time of selection. When typing in the input, seconds are always 00.

The issue is that the user is not aware of the seconds' value and cannot change it. This may lead to a variety of problems - e.g. filtering by time in Grid: https://blazorrepl.telerik.com/cebaGNlH53mOoiaA12.

1 comment
Andrew
Posted on: 29 Oct 2024 21:17
Note in the example that the first row is 1:14pm and second row is 12:10pm. If you use the mouse to filter by 12:10pm, you get no results which demonstrates this bug, BUT then if you use the mouse immediately after to filter by 1:14pm, it DOES return that one row correctly. So, the seconds may be included in the first filter but seem to not matter for subsequent filters (if you don't clear the filter; clearing the filter or refreshing the page will reset the bug).