javascript - About input type="number" open number pad in mobile but how open numpad for input type="password" -


i try open number pad in mobile browser <input type="password" /> not able

when set <input type="number" /> in html page mobile browser open number pad field when viewer click on field
how can force mobile browser to open number pad input type of <input type="password" />

solution webkit browsers (displays text of number type input disc)

#numberpassword {    -webkit-text-security: disc;  }
<input type="number" id="numberpassword" />


Comments

Popular posts from this blog

python - Operations inside variables -

Generic Map Parameter java -

arrays - What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it? -