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

Duration component

1 Answer 275 Views
DateTimePicker
This is a migrated thread and some comments may be shown as answers.
Roel
Top achievements
Rank 1
Roel asked on 21 Jan 2021, 01:07 PM

Hello,

Is there a duration component available (or are there plans for one)?

I have an example where I want to have an input field in which the user can enter a duration of a process.

We currently (ab-)use a datetimepicker, but this only goes to 24h, and we want to input f.e. something like "55h 30m" in that field

Better would be to have a numerictextbox that can be formatted as a duration time. Or a datetimepicker that can be viewed as a durationpicker with more then 24h available.

Is this something that can be achieved? Or are there any other creative solutions for this use case? Or is this something for the roadmap?

We were thinking of using 2 numeric input fields (one for hours and one for minutes) and then converting them to a duration, but a picker-style component would be much more user-friendly.

 

Kind regards,

 

Roel

1 Answer, 1 is accepted

Sort by
0
Georgi
Telerik team
answered on 25 Jan 2021, 12:19 PM

Hello Roel,

Thank you for getting in touch with us about this.

We do have two relevant feature requests in our feedback portal. You could have a look at them and cast your vote for them:

We take the number of votes into account when planning what new features to implement.

Currently we don't have such a component on our roadmap.

The closest thing I can think of, is to use NumericalTextbox components - like you already mentioned.

I do understand, however, that you are looking for the hours and minutes to be combined in one control and to be able to auto-highlight the two segments, like in the DateInput. In this case it seems like a custom implementation would be required as we don't have a component which offers that out of the box.

I hope that clears things up. Please do let us know if we could help you with anything else.

Regards,
Georgi
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/.

Tags
DateTimePicker
Asked by
Roel
Top achievements
Rank 1
Answers by
Georgi
Telerik team
Share this question
or