The documentation for paper-input-behavior.html says that `list` should be of type String and should match the id of an existing <datalist> element. So you would have to create HTML for the datalist element, and then in your <input> element set `list="<id>"` and `autocomplete="on"`, where <id> is the id of your datalist.
Basically you're just using list and autocomplete attributes according to the HTML5 spec, as described here: http://blog.teamtreehouse.com/creating-autocomplete-dropdowns-datalist-element You should be able to create the datalist using a repeat template, like this (untested): <datalist id="countries-list"> <template is="dom-repeat" list="[[countries]]"> <option value="[[item]]"> </template> </datalist> <paper-input list="countries-list" autocomplete="on"></paper-input> On Friday, July 31, 2015 at 9:09:22 AM UTC-6, [email protected] wrote: > > Any example of this? > > Tried this with setting list$="[[countries]]" on the paper-input, but it > doesn't seem to work. > > On Friday, June 19, 2015 at 4:35:40 PM UTC+2, [email protected] wrote: >> >> Have been searching for an autocomplete component that I can use with my >> app. >> The catalog does not have something similar and cheesel seems to work >> only for Polymer 0.5.0. >> >> Any plans to create a component for the same? >> > Follow Polymer on Google+: plus.google.com/107187849809354688692 --- You received this message because you are subscribed to the Google Groups "Polymer" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/polymer-dev/5038d759-3950-4fa2-97ed-021367ae7a8d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
