Skip to content
loading...

why can't we use multiple types on input fields?

krantzinator profile image Rae Krantz twitter logo github logo ・1 min read

I have tried and failed to find a pure CSS way of making a password-styled input field also pull up a numeric keypad on mobile on Firefox. (Deprecated support of text-security: disc on type=number inputs, for one failed example.)

It seems like this problem would be solved if we could say an input had types of both password and number or tel.

What is it about how how input works makes us unable to design browsers this way?

twitter logo DISCUSS
Discussion
markdown guide
Classic DEV Post from Jul 30 '19

What's your favorite question to be asked?

Rae Krantz profile image