This is a migrated thread and some comments may be shown as answers.

DatePicker with regular input

1 Answer 205 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Moises
Top achievements
Rank 1
Moises asked on 03 Dec 2018, 03:59 PM

The DateInput component of the DatePicker widget has been causing our team a few headaches all centering around the format placeholder used on the input. The issues center around:

  1. Integration with our form validation framework is difficult as the widget treats all invalid dates as null, including an "empty" date field.
  2. The format placeholder makes it impossible to copy+paste a date into the DateInput, which is something our users frequently try to do.

The jQueryUI version of the DatePicker component did not try to do the format placeholder functionality. Is there a way to disable this functionality in the react version of the DatePicker and have the Datenput function as a plain text input when typing?

 

1 Answer, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 04 Dec 2018, 10:50 AM
Hello, Moises,

We are currently working on functionality that will allow replacing the DateInput with a standard input or any other custom input.

The development is still in progress, but we hope to be ready soon.

Please share with us if you think that such feature will be helpful in your case, and if not please share why so we can think of an approach to cover it as well.

===============================================

Additionally, we have a built-in validation for the form controls. Please take a look at it:

https://www.telerik.com/kendo-react-ui/components/forms/getting-started/#toc-getting-started-with-forms

Regards,
Stefan
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Pranay
Top achievements
Rank 1
commented on 24 Jun 2021, 02:52 PM

Hi Stefan,

DateInput still has default formatting and does not accept plain text. Is there any progress to remove default formatting?



Thank you
Stefan
Telerik team
commented on 25 Jun 2021, 07:43 AM

The feature mentioned in the post was about allowing the developer to render any custom input in the DatePicker and this possible now:

https://www.telerik.com/kendo-react-ui/components/dateinputs/datepicker/custom-rendering/

This allows the user to render a custom Input (not DateInput) to cover different cases.

If there is still an issue, please share more details and an example, as this will help us provide more to the point suggestion.

Tags
General Discussions
Asked by
Moises
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Share this question
or