Hello Joe,
Thank you for your input! Please see my comments on the listed points as follows:
1) If you type anything in the 1pm hour, it doesn’t know what to do and yields the wrong results. 1:30 yields 3 AM for example.
Details on the current behavior you may find in my previous response.
As for your suggestion for a free-form, indeed such a scenario can be covered by this functionality. You are correct that we have a feature request for that: Remove the DateInput mask and type free text. I see you already voted for it.
===
2) There is some mismatch of using the picker vs typing, in which one causes the date portion to revert to today’s date but the other keeps it the same. So you have to use a valuechanged function to revert back.
It sounds to me like you are referring to this bug: Writing the time with the keyboard changes the date portion to the current date.
I see that a member of your team already voted for it. You may also follow it to get status updates. A workaround for the time being is to indeed handle ValueChanged to manage the date value.
===
3) There is some kind of delay that I thought was related to the timepicker, but it seems to occur with many components in general.
Based on the description, this behavior is most likely related to the default debounce delay that the inputs have - its value is 150ms. Setting that to 0, you should not experience a delay between typing and updating of the value.
In case you are hitting a different behavior, please open a dedicated ticket and send a runnable reproduction, so we can revise it.
===
4) The am/pm section shows “aa”.
This point also targets a completely different behavior than the one discussed in this thread. So far, we haven't received a report for such an issue.
May I ask you to again open a dedicated report and either include a reproduction or list the exact steps that we need to perform in order to reproduce this behavior on any of our demo pages? Once we have that, we can validate whether it is a matter of component configuration or a bug.
Thank you in advance!
Regards,
Nadezhda Tacheva
Progress Telerik
Hello again,
There have been a few things that have gotten complaints with the Time Picker, most that I’ve already relayed.
I think most of your components are great, but this one has a lot of issues. Some that are deal-breakers. Especially in a process where people are logging time throughout the day. It has to work really well. For this reason, we had decide din the short term to write something fully custom to resolve the issue. If you later roll out the free-form text option, depending on how that works, maybe we will switch back to using the timepicker.
Thanks,
Hi Joe,
We have re-evaluated this report with the development team. As a result, we have concluded it is not related to a bug and I have updated the status of the item. Let me provide more details on the behavior.
When you type "1" in the hour segment, the focus should remain there as this is not a confirmed complete hour value. In other words, the user may want to type another number after the "1" to get the hour "12" for example.
The TimePicker cannot know whether the user wants to keep the hour just "1" nor it can auto-switch to the minutes if the second typed number is invalid. For example, if one is using a "hh" format (a 12-hour clock), the only valid numbers that can be typed after "1" are "1" or "2". Thus, if you type "3" after "1", the clock rolls back and gets just the "3".
Considering this, when typing "130" the TimePicker is not expected to yield 13:00. However, one should be able to type "01" and this should move the focus to the minutes. This is the approach that you may use to produce the desired value.
Note:
Depending on the format that you use, you may hit a different problem that I identified while testing: https://feedback.telerik.com/blazor/1637366. You may vote for that item if you want to use this format.
My suggestion is to use format "HH:mm" or "h:mm" until this is fixed. Using these formats and typing "0130" you will get a "(0)1:30" value.
Regards,
Nadezhda Tacheva
Progress Telerik