Completed
Last Updated: 12 Oct 2020 15:40 by ADMIN
Release 2020.R3.SP.next
Jose
Created on: 03 Apr 2020 16:55
Category: Date/Time Pickers
Type: Bug Report
0
Can't change day value the first time

Hi,

Today I noticed a wrong behavior with the dateInput.

After the component is initialized with a predefined value, I can't change day part value, the component does not accept them.

In the next dojo you can see if I try to change directly day value, it marks it as invalid value. I need to change it with arrow keys before to accept any value.

https://dojo.telerik.com/UlEDizoW

Maybe I'm missing something?

 

Thanks!

3 comments
ADMIN
Nikolay
Posted on: 14 Apr 2020 10:58

Hello Jose,

After consulting with the Development and the UX Teams, it was decided this DatePicker behavior logged for a change. As a result, I converted this support thread to a public item which is available at

You may also follow it in the repository if you prefer using GitHub here:

Finally, as a token of appreciation for helping us improve, I have added some Telerik points to your account

Regards,
Nikolay
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
Jose
Posted on: 13 Apr 2020 13:10

And, there is no way to clear that date part before the user starts to type a new value?

I feel the current behavior would be a problem in some situations where the user want to set a valid date but they can't because this restriction.

ADMIN
Nikolay
Posted on: 06 Apr 2020 08:27

Hello Jose,

The described behavior is actually by design made this way. The DatePicker concatenates the newly typed values to the existing one rather than replacing it. I will try to explain what happens on the provided Dojo.

The default date value is 3 and when the user tries to change the value with a number starting with 1 it actually concatenates the 3 with 1 but 31 is not a valid April date and so the verification does not pass. If you change the default date value to 2 you will notice that the verification is passed because 21 is an actual date from the calendar.

Let me know if you have any questions.

Regards,
Nikolay
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.