Unplanned
Last Updated: 25 Mar 2024 17:43 by ADMIN
Owen
Created on: 13 Dec 2023 16:25
Category: DatePicker
Type: Bug Report
3
big bug

Hello,

We've been experiencing a weird behavior with the date picker element. We wanted to have an auto advancing cursor that moves from date -> month -> year without the user having to manually press the arrow keys.

We based our solution off this previous method in your JQuery element. However the React element has some buggy behavior when it comes to updating existing date values in the input that makes this method impossible. (the functionality works correctly in the JQuery version of the library, just not React)

When updating an existing value in the box from a single digit value (e.g. 01, 02, 03, 04, but not 10, 11, 12) instead of overwriting the existing value it appends the new number the user entered. For example, if a 01, is in the box and the user types 2 it becomes 12, when it should have become 02.

This can be especially confusing for the user when working with named dates (e.g. "Jan", "Feb",  "Dec", etc) since they do not see the numbers involved. If the user is updating Jan, and they press 2. It should update to Feb not Dec...

I've attached a GIF of the problem below as I've described

6 comments
ADMIN
Konstantin Dikov
Posted on: 25 Mar 2024 17:43

Hi Owen,

Thank you for getting back to us.

I have to say that there is still no progress on this particular issue. Please note that the public issues are prioritized based on the demand/votes/severity and it might take some time for an item with low number of votes to be included in the planning. Nevertheless, I will see if I can increase the priority of the item within the team.

Please excuse us for any inconvenience caused by the delay.

 

Regards,
Konstantin Dikov
Progress Telerik

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

Owen
Posted on: 19 Mar 2024 15:15
Hey, is there any update on when this bug might be fixed? It's not a major concern for us, but since there's no workaround it would be nice to get it fixed sometime soonish
ADMIN
Konstantin Dikov
Posted on: 21 Dec 2023 11:40

Hello Owen,

I agree that blurring and focusing the input should clear the previously stored values and start entering the new values from scratch. With that in mind, I have changed the status of the item to "Unplanned", which indicates that report is valid and will be added in the planning in the future.

As for a temporary workaround, I have to say that there is no solution that we can provide with the current implementation of the DatePicker.

 

Regards,
Konstantin Dikov
Progress Telerik

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

Owen
Posted on: 18 Dec 2023 15:31

Thanks for the quick reply Konstantin. 

I would expect it to behave as the day input does in the same situation. If the input box is refocused the first character that the user inputs should be the only one considered in the input (e.g. existing contents do not apply). This would still allow the user to select months like Nov Dec, as long as they type (12, or 11 without unfocusing the input in-between typing those two characters)

My GIF should display the expected functionality

ADMIN
Konstantin Dikov
Posted on: 15 Dec 2023 10:02

Hello Owen,

Thank you for your report.

The behavior that you are describing is the same with the Kendo UI for jQuery DatePicker and the example in question. If you change the format to show "MMM" for the months you will see that after pressing "1" and then "2", "Dec" will be set:

Both pickers work in the same manner to handle the values. If pressing "2" should always set "Feb", this will make it impossible for the user to set "Dec". I have to say that there is no solution that would satisfy all users expectations in regards of the named months and the current behavior is the one that the developers team have consented on. 

If you have any idea on how this can be resolved in a way that would allow "Oct", "Nov" and "Dec" to be selected, we would definitely consider its integration in the component. 

 

Best Regards,
Konstantin Dikov
Progress Telerik

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

Owen
Posted on: 13 Dec 2023 16:27
Whoops, sorry about the title. It's not a "big bug", it's  a very small bug actually 😅