Last Updated: 13 Jul 2021 08:04 by ADMIN
Created on: 27 Aug 2018 15:32
Category: DatePicker
Type: Feature Request
Add custom parsing to DatePicker
It would be helpful to allow for a plug-in point in the date-related input components for enabling custom parsing of the entered value before it's formatted.  The format would be consistent after the parsing completes, but there are cases where parsing text and converting it are helpful.  A few examples might be:
- "today" translates to 8/27/2018.
- "yesterday" translates to 8/26/2018.
- "1" translates to the first of the current month: 8/1/2018.
- "nov01/18" translates to 11/1/2018.
This item is a duplicate of an already existing item. You can find the original item here:
1 comment
Dimiter Topalov
Posted on: 13 Jul 2021 08:04

Hello Colin,

To avoid spreading of the votes, we will close this feature request as a duplicate, and will continue tracking the following item:


Both requests will likely result in an enhancement based on provided an option in the DateInput component (used internally by the DatePickers) that will allow end users to enter unmasked values in the input, and some mechanic for parsing the input text to a JavaScript Date object on blur.

Dimiter Topalov
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.