Successfully implementing ng2-select to bind an array of objects to a dropdown. It worked seamlessly with an array of strings.
private category: Array<object> = [{ "value": 1, "text": "Table" }, { "value": 2, "text": "Chair" }, { "value": 3, "text": "Light"}]
Here's the corresponding HTML code:
<ng-select [items]="category" [allowClear]="true"
placeholder="No country selected">
</ng-select>
The selectModule has been properly imported in my module.ts file as well.