离子型:为什么Android键盘"下一步]按钮尝试验证一个表单? [英] Ionic: Why the Android keyboard "next" button try to validate a form?
本文介绍了离子型:为什么Android键盘"下一步]按钮尝试验证一个表单?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我创建了一个表格sothat用户可以注册。
与Android(5.0),重点在输入栏上时,Android键盘啪啪,我有一个下一步按钮(右箭头),这是不错的。
I created a form sothat a user can signup. With Android (5.0), when focusing on an input field, the android keyboard pops, and I have a "next" button (right arrow), this is good.
然而,攻丝时,它总是试图提交的窠臼下一个字段的形式。
另外,我想最后一个字段有验证(打勾)按钮而不是下一步之一。
However, when tapping it, it always tries to submit the form instead of focusing to the next field. Plus, I would like that the last field has the "validate" (tick) button instead of the "next" one.
感谢。
推荐答案
尝试使用属性NOVALIDATE在您的形式是这样的:
try to use the attribute "novalidate" in your form like this:
<form novalidate></form>
这篇关于离子型:为什么Android键盘&QUOT;下一步]按钮尝试验证一个表单?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文