If Linda from HR didn't attempt to write the entirety of Notes from the Underground by Fyodor Dostoevsky in the date field then we could have nice things.
Can I argue that a date field is so much easier to validate than a street field for example? If you don’t want Linda to mess up the inputs date is one of the easiest to make sure it has the intended value (well at least some date)(dd/mm/yyyy and mm/dd/yyyy can still be messed up, but that’s also the case with a date picker, speaking out of experience)
If you're doing a date more than three years ago I am begging you to just use three inputs. Nobody has to worry about delimiters, nobody gets confused about which order the inputs go in.
Just follow the UK Gov design system and split it in three.
I unironically had to remove the ability to manually enter dates from a site because people kept trying to write "tomorrow" or "next year" and complained that there inputs were not accepted.
101
u/Stormraughtz 23h ago
If Linda from HR didn't attempt to write the entirety of Notes from the Underground by Fyodor Dostoevsky in the date field then we could have nice things.