angular2-tag-input
angular2-tag-input copied to clipboard
Pass an object to the autocomplete instead of strings
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
This would be a great addition, i need this also!
This is great idea. I was also wondering about this feature!