I am using angular 4 ngx-chips for input tags. From the following link 'ngx-chips' Saw the issue regarding array of objects as input for 'autocompleteitems' but not able to print the dropdown elements. //arrayOfObjects = [{id: 0, name: 'Angular'}, {id: 1, name: 'React'}]; and want to print name in dropdown
<tag-input [ngModel]="['@item']"
[onlyFromAutocomplete]="true">
<tag-input-dropdown [showDropdownIfEmpty]="true"
[autocompleteItems]="arrayOfObjects">
</tag-input-dropdown>
But not able to print the dropdown names. Am i missing something ??
I think you should read through the documentation more throughly.
particularly this section
your
tag-input-dropdownshould look like thisI hope this helps. All the best.