使用聚合物输入元素自动完成/自动填充(黄金电子邮件输入) [英] Autocomplete / Autofill with Polymer input elements (gold-email-input)
本文介绍了使用聚合物输入元素自动完成/自动填充(黄金电子邮件输入)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在使用 Polymer 输入元素(例如 gold-email-input)使 Chrome 的自动填充和/或自动完成功能时遇到问题.我已经尝试将 gold-email-input 组件的 autocomplete
属性设置为 on
,我也尝试将其设置为 email
.自动填充框出现,但从自动填充选项中选择一个条目不会填充控件.我做错了什么?
I'm having an issue getting Chrome's autofill and/or autocomplete working with Polymer input elements, such as gold-email-input. I've tried setting the autocomplete
attribute of the gold-email-input component to on
and I've also tried setting it to email
. The autofill box appears, but selecting an entry from the autofill selections does not populate the control. What am I doing wrong?
推荐答案
<form is="iron-form">
<gold-email-input></gold-email-input>
</form>
这很有效
这篇关于使用聚合物输入元素自动完成/自动填充(黄金电子邮件输入)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文