TUM-Dev / gocast

TUMs lecture streaming service.
https://live.rbg.tum.de/
MIT License
183 stars 42 forks source link

Input validation for video section timestamps not working on Firefox #1124

Closed alexanderstephan closed 1 year ago

alexanderstephan commented 1 year ago

Describe the bug As the timestamp input requires type number, it should not allow characters as input.

Note: This works under Chrome as expected, but not on Firefox.

To Reproduce Steps to reproduce the behavior:

  1. Go to VoDs in admin page
  2. Go to video sections
  3. Insert e.g. an 'A' for minutes
  4. Add and save the video section
  5. Observe behavior as in the screenshot blow

Expected behavior Either there should be warning when adding the section or it should not be possible to insert anything in input.

Screenshots image

Desktop (please complete the following information):