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

・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?

Classic DEV Post from Jul 12 '18

What newsletters are you subscribed to?

I'm just curious which newsletters people on here are subscribed to, both work ...

Customize your DEV feed to keep up with the frameworks and languages you care about.

Get Started