My users need to enter a duration in Days, Hours and Minutes.
Right now I've just implemented this as three fields which is okay and works, but which is not exactly a nice bit of design. The alternative is to just have 1 field and let them type 2 days, 3 hours, 45 minutes
or 15 m
, or 1d 2h 35m
or 90m
, or 2 days
, etc. That seems like it would need some non-trivial parsing to get really right, and be complex to internationalise.
What are some 'best practice' examples of a web UI component that allows the user to enter a length of time simply?
Please note this is not a DatePicker
, but a duration input component.