DateTimePicker apply value without pressing "set"

1 Answer 35 Views
DateTimePicker
Stefan
Top achievements
Rank 1
Stefan asked on 16 Oct 2023, 05:40 PM | edited on 17 Oct 2023, 09:34 AM

Hello,

I'm currently not using the KendoReact - DateTimePicker because I miss the ability to apply a selected Date/Time without

having to press "set". Maybe with an onChange event or similar.

Does anyone have a best practice or workaround to solve this issue?

 

Thanks in advance and Kind regards ~

1 Answer, 1 is accepted

Sort by
1
Wissam
Telerik team
answered on 18 Oct 2023, 12:53 PM

Hello, Stefan,

You can change the DateTimePicker date without having to press the `Set` button by rendering a custom Calendar for the component and handling its change event to get the value. Moreover, handle the DateTimePicker in controlled mode, and set its value in the `onChange` event of the Calendar:

For more information about customising the DateTimePicker's Calendar, you can check the following article:

As for changing the time without pressing the `Set` button, this is currently not possible since the TimePicker component is not exposed to the component. Therefore, I can suggest submitting a feature request in our feedback portal (for adding a prop that allows rendering a custom TimePicker) where new ideas are constantly being evaluated and the most popular ones are implemented in future releases:

I hope this helps, but please let me know if you have any further questions.

Regards,
Wissam
Progress Telerik

Stay tuned by visiting our public roadmap and feedback portal pages! Or perhaps, if you are new to our Kendo family, check out our getting started resources!

Jean
Top achievements
Rank 1
commented on 19 Oct 2023, 01:49 PM | edited

Hello Wissam,

thank you very much!

Wissam
Telerik team
commented on 19 Oct 2023, 01:53 PM

You are welcome, Jean. I am glad that my reply was helpful to you.
Tags
DateTimePicker
Asked by
Stefan
Top achievements
Rank 1
Answers by
Wissam
Telerik team
Share this question
or