自动完成/自动填充聚合物与输入元素(金电子邮件输入) [英] Autocomplete / Autofill with Polymer input elements (gold-email-input)

查看:148
本文介绍了自动完成/自动填充聚合物与输入元素(金电子邮件输入)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个问题让Chrome的自动填充和/或自动完成与聚合物投入要素,如黄金的电子邮件输入工作。我已经试过黄金电子邮件输入组件的自动完成属性设置为,我也试着将它设置为电子邮件。出现自动填写框,但选择从自动填充选择一个条目不填充控制。我在做什么错了?

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?

推荐答案

您不需要设置自动完成属性,因为它的已设置为自动完成=电子邮件

You don't need to set the autocomplete attribute, as it's already set to autocomplete=email.

我认为我们需要看到您的code样品中的上下文,因为输入时自动为我填充当我选择自动填充建议:

I think we need to see a sample of your code in context because the input automatically populates for me when I select the autofill suggestion:

在这里输入的形象描述

jsbin

这篇关于自动完成/自动填充聚合物与输入元素(金电子邮件输入)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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