folkehelseinstituttet / Fhi.Frontend.Demo

MIT License
2 stars 1 forks source link

Datepicker: Formatting help for date input #558

Open cathral opened 2 months ago

cathral commented 2 months ago
  1. Input mask: If I have written the correct date, the "." will appear and I can continue with the month
  2. Character type and value restriction: I don't want to be allowed to input illegal letters or numbers

Consider: For Date and time -> validation for both fields in one message. Maybe there is not so many thing that can go wrong if we restrict the user input?

image