Duration input problem

I’m facing a problem where I need a duration input that allows unlimited hours but minutes limited to a maximum of 59.

My current idea to handle this is to create two separate inputs — one for hours and one for minutes — and then combine them on the frontend into a single duration string (e.g., 123:45).

Is there a better or more standard way to implement this kind of input?

image

that works, another option is to use the ai to fork the datepicker component and add a duration mode similar to the time mode but with no limit on the hours I tried this and the code it was generating looked good but then it failed so if your lucky it might work

1 Like