Skip to content

Latest commit

 

History

History
10 lines (5 loc) · 390 Bytes

README.md

File metadata and controls

10 lines (5 loc) · 390 Bytes

DurationDirective

An example project, that showcases a directive that handles duration inputs in forms.

It converts inputs like 150, 15m, 1h26, 1:45, 1 45, 1.5 into minutes as the output of the formfield, and standerdizes the displayed value of the formfield to 1 h 24 m format

Demo

You can find a working demo here