Can I use a custom TimeSelectorComponent in a DateTimePickerComponent ?

0 Answers 34 Views
DateTimePicker
Danny
Top achievements
Rank 1
Danny asked on 01 Oct 2024, 01:47 AM
I want to be able to change the logic for handleNow(). This function is a part TimeSelectorComponent which is use in DateTimePickerComponet. 

My initial thought was create a component class that extends TimeSelectorComponent and use it like this


<kendo-datetimepicker> 
    <custom-time-selector></custom-time-selector>
</kendo-datetimepicker>
But this doesn't seem to work. Is this even possible ? 
Georgi
Telerik team
commented on 03 Oct 2024, 08:58 AM

Hi Danny,

Thank you very much for the details provided.

I am afraid that, as of now, the internal elements and parts of the Kendo UI for Angular Date Inputs components are integral and private/hidden since they are not meant to be used separately or as a starting point for building other components.

The good news specifically for the TimeSelectorComponent is that there is a feature request in our Feedback Portal where we track the custom demand for exporting the component:

It is important to mention that I upvoted this feature request on your behalf as this way, it will gather more popularity and thus will be considered for implementation by our development team.

I hope the provided information answers your question. Please let me know if I am missing out on something.

Regards,
Georgi
Progress Telerik

No answers yet. Maybe you can help?

Tags
DateTimePicker
Asked by
Danny
Top achievements
Rank 1
Share this question
or