Skip to content

Create An Autocomplete Example #74

@phidias51

Description

@phidias51

The demo page sets a property called "sources" but there's no documentation about what sources is supposed to be. Is it a Array<String>? Is it an Array<Object>? How is there a way to let the user lookup values, but store an associated key for the value? For example, if I want to use it to lookup a list user's name and the user object looks something like this {id:1234, firstName:'John', lastName: 'Smith'}, how would the user look this up? How would I get the ID of the selected user? Is there a way to create a custom paper-chip to handle selecting these kinds of objects? Since Polymer now supports ES6 classes, is there a way to have a User class with a toString method that returns the concatenated name that the autocomplete uses?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions