Unplanned
Last Updated: 11 Feb 2019 08:16 by ADMIN
Plamen Ratchev
Created on: 31 Jan 2019 14:57
Category: DateInput
Type: Feature Request
3
[DateInput] Allow multiple formats like the jQuery controls

With the jQuery controls you had a nice feature that you could add multiple parse formats in which the value could be parsed and have a single one for displaying the value. In the Angular implementation you are limited to a single format that the user should follow, which is very inconvenient as different users are used to type differently. 

Would be nice to allow users to type a value in any format that is appropriate for their locale. For example I might want to accept M/d/yyM/d/yyyyM/d for dates, for example, and the date to "autocomplete" to the correct value once the user looses focus.

3 comments
ADMIN
Dimiter Topalov
Posted on: 11 Feb 2019 08:16
Hi Plamen,

Thank you for your further feedback. We will track the customer demand for the discussed enhancements here, and will prioritize accordingly when updating our roadmap.

Regards,
Dimiter Topalov
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Plamen Ratchev
Posted on: 04 Feb 2019 17:08

Hi T.Tsonev, 

I've requested this for DateInput simply because I see this is the backend input for all Date related widgets.

Ideally I want this integrated in the DatePicker and not as a separate control since I want users to have ability to either use the very nice UI of the DatePicker, or, if they are used to using the keyboard, to just type the date and not be forced to enter the full year.

But also I think that a similar behavior would be nice for the DateRange widget, so users can enter shorter dates when using the keyboard. And there simple DateInputs are being used (not DatePickers). 

ADMIN
T. Tsonev
Posted on: 04 Feb 2019 16:36
Hi Plamen,

The described behavior is certainly useful in the context of a date picker with a more expressive UI. It can even accept plain words such as "yesterday".

An example that comes to mind is the date picker on kremlin.ru, mentioned in Designing The Perfect Date And Time Picker - Smashing Magazine.
There the free-form input acts like a "search box" that is never populated with the actual date. This, along with the helpful message, make it clear that the input is not parsed verbatim.

A date input, on the other hand, accepts only a single format in order to avoid ambiguities.
With that in mind, the feature request is applicable as an option to the DatePicker or as a separate component.

Best Regards,
T. Tsonev
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.