mpagels/Bundesliga-Timecode-Tracker

Timecode formating at typing

Closed this issue · 0 comments

Value statement - a requirement, not a solution

As an editor
I need a automatic timecode formating in input field when typing
so that I can see a lot better, where I am when I enter the timecode

Description (Text, Scribble, Wireframe, Design)

Bildschirmfoto 2020-09-04 um 17 31 24

Acceptance criteria

  • Placeholder shows user the format "hh:mm:ss:ff" in Timecode Input
  • after every two numbers, when the next number is typed, a colon is inserted
  • when deleting a number and colon would be left, colon is deleted too
  • if timecode has only zeros, error is shown

Tasks

  • implementing helper function for formating

Size

(large)