angular2-tag-input icon indicating copy to clipboard operation
angular2-tag-input copied to clipboard

Pass an object to the autocomplete instead of strings

Open anrepppp opened this issue 8 years ago • 2 comments

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: https://github.com/Gbuomprisco/ng2-tag-input/issues/68

anrepppp avatar Dec 20 '16 18:12 anrepppp

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

SteveDowsett avatar Dec 21 '16 18:12 SteveDowsett

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

Jayesh-Linkwok avatar Apr 09 '18 08:04 Jayesh-Linkwok