Skip to content

Inconsistency between source and items types #68

@ainvaltin

Description

@ainvaltin

paper-chip-input-autocomplete, currently the source must be an array of objects while items is always array of strings.

It would be nice if the source would also accept an array of strings in which case the items would be strings. If the source is assigned an array of objects then items would also be an array of objects. When the source is objects then additional item-label-path property is used to determine which property of the objects is used for the chip label (defaults to text to preserve current behaviour).

When source is objects but there is also item-value-path property set then the items would contain values of those properties instead of objects.

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