Monday, 18 November 2019

How to implement duration picker with HTML5 or/with Angular8, with hours more than 24?

I am trying to implement a control, using either

 <input type="time"/>

or just with

  <input type="text"/>

and implement a duration picker control which can have hours format more than 24, something like 000:00:00 or hhh:mm:ss, and no am/pm option ( The default input type for time has formats in am/pm format, which is not useful in my case). The requirement is to be able to increase decrease the duration using up and down keys much like the default input type time of HTML.

Is there any native HTML, angular, or material component for this? Or is there a way to achieve this using regular expression/patterns or something?



from How to implement duration picker with HTML5 or/with Angular8, with hours more than 24?

No comments:

Post a Comment