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