Ionic-如何在Android键盘上禁用键盘建议 [英] Ionic - How to disable keyboard suggestions on Android keyboard

查看:49
本文介绍了Ionic-如何在Android键盘上禁用键盘建议的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

  1. 我已经尝试了所有离子文本区域的可能性,例如type ="email"等,但我无法使其在所有Android版本上都可以使用.

  1. I've tried all ion-textarea possibilities such as type="email" and so on, I can't make it work on all Android versions.

我已经安装了cordova-plugin-ionic-keyboard,该键盘显示了没有建议的键盘(图A).但是,当我点击离子文本区域时,将显示本机键盘(图像B).

I've installed cordova-plugin-ionic-keyboard, which shows the keyboard without suggestions (Image A). But when I tap the ion-textarea, the native keyboard shows instead (Image B).

我该如何解决此问题,要么禁用本机键盘上的建议,要么让Cordova插件替换我的ion-textarea的本机键盘,或者其他方法?谢谢!

How can I solve this, either disabling suggestions on the native keyboard or having the Cordova plugin replace the native keyboard for my ion-textarea, or maybe something else? Thanks!

图片A

图片B

推荐答案

最后,在装有Android 9的我的Pixel上< ion-textarea inputmode ="email"></ion-textarea> 工作:).

Finally, on my Pixel with Android 9 <ion-textarea inputmode="email"></ion-textarea> worked :).

这篇关于Ionic-如何在Android键盘上禁用键盘建议的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆