Skip to content

Duration input with Cleave-zen #15

@MakingOff

Description

@MakingOff

Hey!

I'm in a situation where users must be able to input a duration in the following format: HH'h'MM, (47h30).
With HH between 0 and 99 and MM between 0 and 59 (like real minutes would be).
Obviously, I can't use formatTime, I'd only be able to get 23h max.
Nor can I use formatGeneral with blocks: [2, 2], because users could input more than 59 minutes.

So I'm wondering if there's a way to do this?
Or if something could be implemented to make this possible?

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions