0

I am try to open the number pad in mobile browser for <input type="password" /> but i am not able to do this

when I set <input type="number" /> in my HTML page the mobile browser open the number pad for this field when the viewer click on this field
How i can force the mobile browser to to open number pad for input type of <input type="password" />

Sagar V
  • 12,158
  • 7
  • 41
  • 68
Baktash
  • 11
  • 1

2 Answers2

1

Solution for webkit browsers (displays the text of a number type input as disc)

#numberPassword {
  -webkit-text-security: disc;
}
<input type="number" id="numberPassword" />
H77
  • 5,859
  • 2
  • 26
  • 39
0

#numberPassword {
  -webkit-text-security: disc;
}
<input type="number" id="numberPassword" />
Baktash
  • 11
  • 1