Screenshort of ErrorMessage & ConsoleLog
I\'m using a form to get start and end of worktime from user. And with React-Hook-Form you can define custom-validations,