[英]About input type=“number” open number pad in mobile but how open numpad for input type=“password”
我嘗試在移動瀏覽器中打開<input type="password" />
的數字鍵盤,但我無法執行此操作
當我在HTML頁面中設置<input type="number" />
,移動瀏覽器會在查看者單擊該字段時打開該字段的數字鍵盤
我如何強制移動瀏覽器打開輸入類型為<input type="password" />
數字鍵盤
Webkit瀏覽器的解決方案(將數字類型輸入的文本顯示為光盤)
#numberPassword { -webkit-text-security: disc; }
<input type="number" id="numberPassword" />
#numberPassword { -webkit-text-security: disc; }
<input type="number" id="numberPassword" />
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.