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?
相关问题
- Google places autocomplete suggestion without coun
- How can I dynamically add items into paper-dropdow
- How can I dynamically add items into paper-dropdow
- 2 way data-binding between a polymer component and
- Shadow DOM CSS Styling from outside is not working
相关文章
- Access shadow DOM properties (polymer) with javasc
- Set the z-index value of a jQuery autocomplete inp
- How to disable autocomplete in address fields for
- document.querySelector() returns null
- Updating Polymer component via Websocket?
- Clear text box in Jquery Autocomplete after select
- Jquery UI autocomplete - Unwanted triggering due t
- How to test autocomplete using selenium and Python
Try wrapping your input elements in a form element. This works for me:
You don't need to set the
autocomplete
attribute, as it's already set toautocomplete=email
.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
This tends to work