I want to be able to paste into number and phone input fields on mobile

Submitted by Fish

This idea is currently being discussed.

When an <input> element has type="number" or type="tel", the mobile browser displays a numeric keyboard — which is exactly what you want to restrict input to digits. However, this also disables the paste functionality on many mobile devices, which is a serious usability problem.

Long numeric strings like credit card numbers, membership IDs, confirmation codes, and phone numbers are frequently copied from another app or message and need to be pasted into a form field. Forcing users to type these digit by digit — often while referring to another source — is error-prone and frustrating.

I want mobile browsers to allow paste operations into type="number" and type="tel" input fields even when the numeric keyboard is shown. The browser can still validate the pasted content against the allowed character set, but users should never be blocked from pasting valid content into a field.

Tagged
Forms HTML Ux
Votes
0
What are votes for and how are they tallied?