If you want to *only" trigger the numeric keyboard on touchscreens, you may better use type="text" and inputmode="numeric"

The inputmode attribute is supported in Chromium, latest iOS Safari and is in development in Firefox


✎ You Probably Don't Need `input type="number"`


· Mastodon Twitter Crossposter · 0 · 1 · 1
Sign in to participate in the conversation

Server run by the main developers of the project 🐘 It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!