News for hackers. Stuff that matters.
Re:Why the Gov.uk Design System team changed the input type ... by chias on Thursday February 27, 2020 @02:05PM (#22436605)
Trying this out in the latest Desktop Firefox, the numberinput and pattern attributes seem to have no effect, and it behaved exactly like a regular type="text" input.
Re:Why the Gov.uk Design System team changed the input type ... by alkonaut on Thursday February 27, 2020 @05:14PM (#22438528)
The pattern is only a trick to persuade old iOS Safari to show the numeric pad even though it’s “text”.