News for hackers. Stuff that matters.
Re:Why the Gov.uk Design System team changed the input type ... by dylan-m on Thursday February 27, 2020 @04:44PM (#22438278)
That's a good rule of thumb there :) More pedantically, credit card numbers _aren't_ numbers in the first place. They are identifiers that happen to use numerical digits. Same as phone numbers. Treating them as numbers at any point in a system is an error. My dream is this detail of the HTML spec forces people to rethink their schema design while they're at it.
Re:Why the Gov.uk Design System team changed the input type ... by reaperducer on Thursday February 27, 2020 @06:59PM (#22439283)
See also: New England ZIP Codes, which can cause all kinds of problems.
Re:Why the Gov.uk Design System team changed the input type ... by velosol on Thursday February 27, 2020 @08:22PM (#22439753)
To save a search for those who might not know off the top of their head - New England is home to leading zero ZIP codes (e.g. 02122 for Boston).