Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pass an object to the autocomplete instead of strings #14

Open
anrepppp opened this issue Dec 20, 2016 · 2 comments
Open

Pass an object to the autocomplete instead of strings #14

anrepppp opened this issue Dec 20, 2016 · 2 comments

Comments

@anrepppp
Copy link

anrepppp commented Dec 20, 2016

Hi,
I was wrapping my head around this tags-input plugins for a while and i am wondering is this plugin has a support for the passing an array of objects inside of autocompleteItems and specify a property to display the name.

Ex:
[autocompleteItems]="[{name: 'Item1', id: 1}, {name: 'Item2', id: 2}}"
[autocompleteDisplayProperty]="'name'"
[autocomplete]="true"

Referring: Gbuomprisco/ngx-chips#68

@SteveDowsett
Copy link

This would be a great addition, i need this also!

@Jayesh-Linkwok
Copy link

Jayesh-Linkwok commented Apr 9, 2018

This is great idea. I was also wondering about this feature!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants