Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


The pattern is only a trick to persuade old iOS Safari to show the numeric pad even though it’s “text”.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: