0
當我點擊html輸入時,如何禁用手機上的鍵盤顯示?禁用手機上的鍵盤顯示當我點擊html輸入
由於我在手機上顯示自定義鍵盤,因此在顯示屏上顯示兩個鍵盤。
<input style="width:160px; white-space: nowrap;" type='text' ng-model="answer" ng-virtual-keyboard/>
當我點擊html輸入時,如何禁用手機上的鍵盤顯示?禁用手機上的鍵盤顯示當我點擊html輸入
由於我在手機上顯示自定義鍵盤,因此在顯示屏上顯示兩個鍵盤。
<input style="width:160px; white-space: nowrap;" type='text' ng-model="answer" ng-virtual-keyboard/>
如果您嘗試輸入設置爲readonly=true
應該停止出現
<input style="width:160px; white-space: nowrap;" readonly="true" type='text' ng-model="answer" ng-virtual-keyboard/>
謝謝它的作品。 –
沒有問題很高興它工作:) – Celt