Completed
Last Updated: 12 Oct 2021 17:11 by ADMIN
Release 2021.R3
Daniel Knoll
Created on: 21 May 2021 07:45
Category: Date/Time Pickers
Type: Bug Report
0
DatePicker with DateInput shows mask instead of empty value since Kendo UI 2021 R1

Hi,

 

We are using DatePicker and DateTimePicker with DateInput.

Since Kendo UI 2021 R1 the DatePicker is showing the DateInput mask when the value is null. The DateTimePicker behaves correctly.

 

I've prepared an example. The value is set to null manually here, but in our code it is set via MVVM binding. 

https://dojo.telerik.com/OcaVaWoX

Reproduce:

1. Select Version Kendo 2020 R3: The DatePicker and DateTimePicker are both empty. That's the expected behavior.

2. Select Version Kendo 2021 R1: The DatePicker now incorrectly shows the DateInput mask, the DateTimePicker shows the empty picker correctly.

 

Best regards

 

3 comments
ADMIN
Angel Petrov
Posted on: 12 Oct 2021 17:11

Hi,

The DateInput is designed to have a placeholder for hinting what to type. If instead of a picker a date input is used the result would be the same. If one does not want to submit the mask he can use a picker without a dateinput.

Regards,
Angel Petrov
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

John
Posted on: 05 Oct 2021 19:34
there should be some way to disable this.  We were checking for empty controls for data entry validation, everywhere.  Now the controls are returning the input mask.  Who asked for this change?
ADMIN
Angel Petrov
Posted on: 25 May 2021 08:33

Hi Daniel,

Please accept our apologies for the delayed reply.

This seems like something we need to fix. Actually the DatePicker behaves correctly now and displays the mask whereas the DateTimePicker does not. The change mentioned is due to a fix we have applied earlier. It seems that it is applied only for the DatePicker and not for the DateTimePicker.  I have already opened an issue in regards of this so we could modify the other component as well.

As a token of gratitude for reporting this inconsistency to us I have update your account points.

Regards,
Angel Petrov
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.